]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/tools.m4 (syntax.sh): Exit 1 if you managed to kill the
authorAkim Demaille <akim@epita.fr>
Mon, 21 Feb 2000 09:18:01 +0000 (09:18 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 21 Feb 2000 09:18:01 +0000 (09:18 +0000)
child, since it means `/bin/sh -n' went loopy.

ChangeLog
tests/tools.m4

index dbb9fa64d8267153ef3e8df867ae517f0d07260d..439e45faf715e527ccd330d8d3a07dc4c514c67a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-21  Akim Demaille  <akim@epita.fr>
+
+       * 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  <akim@epita.fr>
 
        Some `diff' refuse to diff with /dev/null, such as Tru64's.
index c19c890f078a697c6a158463aff2f87cbdd75aef..59800a3781362d97b69dfe349ab8ab80970a0786 100644 (file)
@@ -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