2009-11-04 Stepan Kasal * tests/autotest.at (parallel autotest and signal handling): Do not check exist status if the shell ignores sigpipe. --- autoconf-2.64/tests/autotest.at.orig 2009-11-04 14:18:18.000000000 +0100 +++ autoconf-2.64/tests/autotest.at 2009-11-04 15:00:09.000000000 +0100 @@ -1297,13 +1297,13 @@ AT_CHECK([($CONFIG_SHELL ./micro-suite -d -3 5-; echo $? >status) | sed 5q], [], [stdout], [stderr]) 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], - [], [ignore]) AT_CHECK([if test -f micro-suite.dir/7/micro-suite.log; then ]dnl [ echo "shell ignores SIGPIPE" > sigpipe-stamp ]dnl [else :; fi]) +# 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 sigpipe-stamp || test ! -s status || grep 141 status || grep 269 status], + [], [ignore]) AT_CHECK([$CONFIG_SHELL ./micro-suite -d -3 5- --jobs=2 | sed 5q], [], [stdout], [ignore]) AT_CHECK([grep '5.*ok' stdout], [1])