From: Jim Meyering Date: Mon, 27 Mar 2023 05:08:02 +0000 (-0700) Subject: tests: avoid an unwarranted test failure X-Git-Tag: v2.72c^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e25d42eb2f0601f7e780a622191f21a8c09aa48;p=thirdparty%2Fautoconf.git tests: avoid an unwarranted test failure * 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. --- diff --git a/tests/autotest.at b/tests/autotest.at index 4367ff29..008153ef 100644 --- a/tests/autotest.at +++ b/tests/autotest.at @@ -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