]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Testsuite fixes for ksh.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 12 Nov 2008 06:07:31 +0000 (07:07 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 12 Nov 2008 06:07:31 +0000 (07:07 +0100)
* tests/check10.test: Add ':' as last command in subshell, for
zero exit status of the subshell.
* tests/parallel-am.test: Do not let failing 'unset' of
nonexistent variable exit the test.
* tests/parallel-am2.test: Likewise.
* tests/parallel-am3.test: Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/check10.test
tests/parallel-am.test
tests/parallel-am2.test
tests/parallel-am3.test

index 8dd11588f6a4b5b0d720484f498535b633638dd7..0490745182f6e20da9af4945b9367f5c91f41411 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Testsuite fixes for ksh.
+       * tests/check10.test: Add ':' as last command in subshell, for
+       zero exit status of the subshell.
+       * tests/parallel-am.test: Do not let failing 'unset' of
+       nonexistent variable exit the test.
+       * tests/parallel-am2.test: Likewise.
+       * tests/parallel-am3.test: Likewise.
+
 2008-11-11 Charles Wilson  <libtool@cwilson.fastmail.fm>  (tiny change)
           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
index c817dcbe20bbd866e7b42aa1e2446fcd6678b2e2..138331cfd227cb214f3a60ae2a1fd438b15325f7 100755 (executable)
@@ -72,6 +72,7 @@ unset TESTS || :
   env TESTS="xpass xpass2" $MAKE -e check
   env TESTS='pass skip xfail' $MAKE -e check
   $MAKE check
+  :
 ) >stdout
 cat stdout
 
index 8bd5585364d37a1ee94f17acd95dcef82842974c..e2101e5fe4b5e06e0dd6624f3e2504115ec5a07d 100755 (executable)
@@ -81,7 +81,7 @@ $ACLOCAL
 # Further, automake output should be stable.
 
 # Generate expected output using the non-threaded code.
-unset AUTOMAKE_JOBS
+unset AUTOMAKE_JOBS || :
 AUTOMAKE_run 0 --add-missing
 mv stderr expected
 Makefile_ins=`find . -name Makefile.in`
index b92b79e1ad5f2f3a5078f03169f38b777c09ad52..9e002baf4e67ab7f48035316bc762258c8d70f38 100755 (executable)
@@ -61,7 +61,7 @@ $ACLOCAL
 # Thus we install the auxiliary files in a prior step.
 
 # Generate expected output using non-threaded code.
-unset AUTOMAKE_JOBS
+unset AUTOMAKE_JOBS || :
 rm -f install-sh missing depcomp
 AUTOMAKE_fails --add-missing
 mv stderr expected
index b3b0aac4714d7bc250ead63b1ae3498a33d354dd..11e470699b03c96d1687fc33d9fddd4aefc5d346 100755 (executable)
@@ -57,7 +57,7 @@ mkdir build-aux
 $ACLOCAL
 
 # Generate expected output using the non-threaded code.
-unset AUTOMAKE_JOBS
+unset AUTOMAKE_JOBS || :
 AUTOMAKE_run 0 --add-missing
 mv stderr expected
 mv Makefile.in Makefile.in.exp