From: Ralf Wildenhues Date: Sat, 19 Jun 2010 18:17:09 +0000 (+0200) Subject: Accept any nonzero exit status upon config.status write failure. X-Git-Tag: v2.66~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae8dbe8995bdf4cb93ed4834c66b6ee20e35cced;p=thirdparty%2Fautoconf.git Accept any nonzero exit status upon config.status write failure. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Normalize nonzero status to 1 for writing to /dev/full, for HP-UX 11.31 cat which exits 2. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index a2debc68..c0b9910f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-06-23 Ralf Wildenhues + Accept any nonzero exit status upon config.status write failure. + * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): + Normalize nonzero status to 1 for writing to /dev/full, for HP-UX + 11.31 cat which exits 2. + Fix testsuite failure with Tru64 preprocessor. * tests/compile.at (Order of user actions and cleanup): Add incomplete comment to provoke failure with Tru64/OSF 5.1 cc diff --git a/tests/torture.at b/tests/torture.at index 8ecda238..dc906a87 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -272,7 +272,7 @@ AT_CHECK([grep from-stdin file], [], [from-stdin ]) # Force write error creating a file on stdout if test -w /dev/full && test -c /dev/full; then - AT_CHECK([./config.status --file=-:input /dev/full], + AT_CHECK([./config.status --file=-:input /dev/full || exit 1], [1], [ignore], [ignore]) fi @@ -285,7 +285,7 @@ AT_CHECK([grep OK stdout], [], [OK ]) # Force write error creating a header on stdout if test -w /dev/full && test -c /dev/full; then - AT_CHECK([./config.status --header=-:input /dev/full], + AT_CHECK([./config.status --header=-:input /dev/full || exit 1], [1], [ignore], [ignore]) fi