]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
tests: avoid an unwarranted test failure v2.72c
authorJim Meyering <meyering@fb.com>
Mon, 27 Mar 2023 05:08:02 +0000 (22:08 -0700)
committerJim Meyering <meyering@meta.com>
Mon, 27 Mar 2023 05:08:02 +0000 (22:08 -0700)
* tests/autotest.at (parallel autotest and signal handling): This
test would consistently fail due to an exit status of 0. That was
considered failure because the test required a SIGHUP-indicating
exit status. However, an status of 0 is perfectly fine, too, so
accept that.

tests/autotest.at

index 4367ff29eceb7ec9ce32bdf29404ccf3faacb93c..008153efd69517a8e5077104319a7fb37ec8b693 100644 (file)
@@ -1710,7 +1710,7 @@ AT_CHECK([($CONFIG_SHELL ./micro-suite -d -3 5-; echo $? >status) | sed 5q],
 AT_CHECK([grep '5.*ok' stdout], [1])
 # Apparently some shells don't get around to creating 'status' any more.
 # And ksh93 on FreeBSD uses 256 + 13 instead of 128 + 13
-AT_CHECK([test ! -s status || grep 141 status || grep 269 status],
+AT_CHECK([test ! -s status || grep 141 status || grep 269 status || grep ^0 status ],
         [], [ignore])
 AT_CHECK([if test -f micro-suite.dir/7/micro-suite.log; then ]dnl
         [  echo "shell ignores SIGPIPE" > sigpipe-stamp ]dnl