# [GUILT] [PATCH] Testsuite: get rid of "Broken pipe" errors from yes.

3 messages from 2012-04-30 to 2012-04-30. Participants: Per Cederqvist, Jeff Sipek.
Thread: https://gitlist.dev/t/30364

## Per Cederqvist, 2012-04-30 10:27

Subject: [GUILT] [PATCH] Testsuite: get rid of "Broken pipe" errors from yes.
Message-ID: <87k40x346u.fsf@opera.com>
URL: https://gitlist.dev/e/87k40x346u.fsf%40opera.com

```

Signed-off-by: Per Cederqvist <cederp@opera.com>
---
 regression/t-029.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/regression/t-029.sh b/regression/t-029.sh
index 83e1d2b..09450c6 100755
--- a/regression/t-029.sh
+++ b/regression/t-029.sh
@@ -21,11 +21,11 @@ echo | shouldfail guilt repair --full
 
 cmd list_files
 
-yes n | shouldfail guilt repair --full
+yes n 2>/dev/null | shouldfail guilt repair --full
 
 cmd list_files
 
-yes y | cmd guilt repair --full
+yes y 2>/dev/null | cmd guilt repair --full
 
 cmd list_files
 
@@ -33,6 +33,6 @@ cmd guilt push -a
 
 cmd list_files
 
-yes Y | cmd guilt repair --full
+yes Y 2>/dev/null | cmd guilt repair --full
 
 cmd list_files
-- 
1.7.10

```

## Jeff Sipek, 2012-04-30 15:06

Subject: Re: [GUILT] [PATCH] Testsuite: get rid of "Broken pipe" errors from yes.
Message-ID: <20120430150655.GE20761@poseidon.cudanet.local>
URL: https://gitlist.dev/e/20120430150655.GE20761%40poseidon.cudanet.local
In-Reply-To: <87k40x346u.fsf@opera.com>

```
On Mon, Apr 30, 2012 at 12:27:21PM +0200, Per Cederqvist wrote:
>

Looks good.  Interestingly, I haven't seen those errors before.  What's your
setup like?

Jeff.

> Signed-off-by: Per Cederqvist <cederp@opera.com>
> ---
>  regression/t-029.sh |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/regression/t-029.sh b/regression/t-029.sh
> index 83e1d2b..09450c6 100755
> --- a/regression/t-029.sh
> +++ b/regression/t-029.sh
> @@ -21,11 +21,11 @@ echo | shouldfail guilt repair --full
>  
>  cmd list_files
>  
> -yes n | shouldfail guilt repair --full
> +yes n 2>/dev/null | shouldfail guilt repair --full
>  
>  cmd list_files
>  
> -yes y | cmd guilt repair --full
> +yes y 2>/dev/null | cmd guilt repair --full
>  
>  cmd list_files
>  
> @@ -33,6 +33,6 @@ cmd guilt push -a
>  
>  cmd list_files
>  
> -yes Y | cmd guilt repair --full
> +yes Y 2>/dev/null | cmd guilt repair --full
>  
>  cmd list_files
> -- 
> 1.7.10
> 

-- 
You measure democracy by the freedom it gives its dissidents, not the
freedom it gives its assimilated conformists.
		- Abbie Hoffman

```

## Jeff Sipek, 2012-04-30 16:46

Subject: Re: [GUILT] [PATCH] Testsuite: get rid of "Broken pipe" errors from yes.
Message-ID: <20120430164604.GF20761@poseidon.cudanet.local>
URL: https://gitlist.dev/e/20120430164604.GF20761%40poseidon.cudanet.local
In-Reply-To: <CAHx6-UmQbcwGiv8xEjJo48cRdQ29KurtZ6O0+yZtJmey7GdrjQ@mail.gmail.com>

```
On Mon, Apr 30, 2012 at 05:34:40PM +0200, Per Cederqvist wrote:
> On Apr 30, 2012 5:06 PM, "Jeff Sipek" <jeffpc@josefsipek.net> wrote:
> >
> > On Mon, Apr 30, 2012 at 12:27:21PM +0200, Per Cederqvist wrote:
> > >
> >
> > Looks good.  Interestingly, I haven't seen those errors before.  What's
> your
> > setup like?
> >
> > Jeff.
> 
> I'm running the tests using M-x compile inside Emacs on Ubuntu 11.04. I
> cannot reproduce it in a plain terminal. yes might inherit some signal
> setup that Emacs makes.

Makes sense.

Thanks,

Jeff.

-- 
Don't drink and derive. Alcohol and algebra don't mix.

```
