[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cond5.test spurious failure
From: |
Stefano Lattarini |
Subject: |
Re: cond5.test spurious failure |
Date: |
Fri, 6 Aug 2010 16:23:32 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
Hi Peter. It seems our patches crossed...
At Friday 06 August 2010, Peter Rosin wrote:
> As seen above, kill seems to always work once it starts to work,
> so I tried to insert a sleep before the first kill. That "fixes"
> it. I have 10+ consecutive successes, no fails.
>
> Please apply this on top of maint:
>
> Cheers,
> Peter
> diff --git a/tests/cond5.test b/tests/cond5.test
> index 84afdd0..88e2e42 100755
> --- a/tests/cond5.test
> +++ b/tests/cond5.test
> @@ -48,6 +48,9 @@ $ACLOCAL
> $AUTOMAKE 2>stderr &
> pid=$!
>
> +# MSYS bash seems to have a bug in kill, so don't try to kill too soon.
> +sleep 2
> +
> # Make at most 30 tries, one every 10 seconds (= 300 seconds = 5 min).
> try=1
> while test $try -le 30; do
Your patch is defintely simpler, but I still prefer mine (well, I will
if it works ;-), since it is also more "theoretically" correct.
If my patch works also on MSYS, do you have any objections to it?
Regards,
Stefano
- Re: New auxiliary archive script, (continued)
- Re: New auxiliary archive script, Peter Rosin, 2010/08/05
- Re: New auxiliary archive script, Ralf Wildenhues, 2010/08/06
- Re: New auxiliary archive script, Peter Rosin, 2010/08/06
- cond5.test spurious failure (was: New auxiliary archive script), Stefano Lattarini, 2010/08/06
- Re: cond5.test spurious failure, Peter Rosin, 2010/08/06
- Re: cond5.test spurious failure, Stefano Lattarini, 2010/08/06
- Re: cond5.test spurious failure, Peter Rosin, 2010/08/06
- Re: cond5.test spurious failure, Peter Rosin, 2010/08/06
- Re: cond5.test spurious failure,
Stefano Lattarini <=
- Re: cond5.test spurious failure, Ralf Wildenhues, 2010/08/06
- Re: cond5.test spurious failure, Stefano Lattarini, 2010/08/06
- Re: cond5.test spurious failure, Peter Rosin, 2010/08/06
- Re: cond5.test spurious failure, Stefano Lattarini, 2010/08/06
- [PATCH] Remove a race condition from test cond5.test (was: cond5.test spurious failure), Stefano Lattarini, 2010/08/06
- Re: cond5.test spurious failure, Peter Rosin, 2010/08/06
- Re: cond5.test spurious failure, Peter Rosin, 2010/08/11
- Re: New auxiliary archive script, Peter Rosin, 2010/08/06
- Re: New auxiliary archive script, Ralf Wildenhues, 2010/08/07
- Re: New auxiliary archive script, Ralf Wildenhues, 2010/08/08