Re: autoconf testsuite endless loop

2000-02-21 Thread Akim Demaille
| If kill works, its return value is 0 and we need to add `&& exit 1' to | have the complement as `|| exit 1' is only executed if kill returns >0. Of course!!! Thanks, brain failure :( | it was: | | if test $? -ne 0; then Sorry, I missed that. Eyes failure :) Will commit the right fix. Ag

Re: autoconf testsuite endless loop

2000-02-21 Thread Nicolas Joly
On Mon, Feb 21, 2000 at 11:38:30AM +0100, Akim Demaille wrote: > > On Fri, Feb 18, 2000 at 03:39:59PM +0100, Akim Demaille wrote: > > > > Could you change tests/tools.m4 from > > > > # A script in charge of testing `/bin/sh -n'. > > AT_DATA(syntax.sh, > > [[set -e > > (/bin/sh -n endless.sh) &

Re: autoconf testsuite endless loop

2000-02-21 Thread Akim Demaille
On Fri, Feb 18, 2000 at 03:39:59PM +0100, Akim Demaille wrote: > > Could you change tests/tools.m4 from > > # A script in charge of testing `/bin/sh -n'. > AT_DATA(syntax.sh, > [[set -e > (/bin/sh -n endless.sh) & > cpid=$! > sleep 2 && kill $cpid >/dev/null 2>&1 > ]]) You need to use the || e

Re: autoconf testsuite endless loop

2000-02-21 Thread Nicolas Joly
On Fri, Feb 18, 2000 at 04:44:29PM +0100, Akim Demaille wrote: > > | On Fri, Feb 18, 2000 at 03:39:59PM +0100, Akim Demaille wrote: > | > > | > Could you change tests/tools.m4 from > | > > | > # A script in charge of testing `/bin/sh -n'. > | > AT_DATA(syntax.sh, > | > [[set -e > | > (/bin/sh -

Re: autoconf testsuite endless loop

2000-02-18 Thread Akim Demaille
| On Fri, Feb 18, 2000 at 03:39:59PM +0100, Akim Demaille wrote: | > | > Could you change tests/tools.m4 from | > | > # A script in charge of testing `/bin/sh -n'. | > AT_DATA(syntax.sh, | > [[set -e | > (/bin/sh -n endless.sh) & | > cpid=$! | > sleep 2 && kill $cpid >/dev/null 2>&1 | > ]]) | >