]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Accept any nonzero exit status upon config.status write failure.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 19 Jun 2010 18:17:09 +0000 (20:17 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 23 Jun 2010 17:17:24 +0000 (19:17 +0200)
* 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 <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/torture.at

index a2debc681bb1d7446d0510f853c1b0297773b0a8..c0b9910f62efd1722e0280422039043a754c15ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       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
index 8ecda2384ea961e8406b0b53282f6314b8731c4a..dc906a878f7d02ce704e146418fee6b1b513e6c4 100644 (file)
@@ -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/null >/dev/full],
+  AT_CHECK([./config.status --file=-:input </dev/null >/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/null >/dev/full],
+  AT_CHECK([./config.status --header=-:input </dev/null >/dev/full || exit 1],
           [1], [ignore], [ignore])
 fi