From: Akim Demaille Date: Mon, 21 Feb 2000 09:18:01 +0000 (+0000) Subject: * tests/tools.m4 (syntax.sh): Exit 1 if you managed to kill the X-Git-Tag: autoconf-2.50~1128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7690cdf6d16658d0ead5a209d6ac4b5212ceba58;p=thirdparty%2Fautoconf.git * tests/tools.m4 (syntax.sh): Exit 1 if you managed to kill the child, since it means `/bin/sh -n' went loopy. --- diff --git a/ChangeLog b/ChangeLog index dbb9fa64d..439e45faf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-02-21 Akim Demaille + + * tests/tools.m4 (syntax.sh): Exit 1 if you managed to kill the + child, since it means `/bin/sh -n' went loopy. + 2000-02-18 Akim Demaille Some `diff' refuse to diff with /dev/null, such as Tru64's. diff --git a/tests/tools.m4 b/tests/tools.m4 index c19c890f0..59800a378 100644 --- a/tests/tools.m4 +++ b/tests/tools.m4 @@ -48,7 +48,7 @@ AT_DATA(syntax.sh, [[set -e (/bin/sh -n endless.sh) & cpid=$! -sleep 2 && kill $cpid >/dev/null 2>&1 +sleep 2 && kill $cpid >/dev/null 2>&1 || exit 1 ]]) if /bin/sh ./syntax.sh; then