summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2023-03-26 22:08:02 -0700
committerJim Meyering <meyering@meta.com>2023-03-26 22:08:02 -0700
commit2e25d42eb2f0601f7e780a622191f21a8c09aa48 (patch)
tree00ab7f9347060cac2b05424f3623ab2c59b7e2e0
parent0b92bd72ca6cae6190ee6b6c95449e4243597e75 (diff)
downloadautoconf-2e25d42eb2f0601f7e780a622191f21a8c09aa48.tar.gz
tests: avoid an unwarranted test failurev2.72c
* 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.
-rw-r--r--tests/autotest.at2
1 files changed, 1 insertions, 1 deletions
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