]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix a spurious failure
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 10:12:43 +0000 (12:12 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 10:12:43 +0000 (12:12 +0200)
* t/parallel-tests-dry-run-2.sh: Here.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/parallel-tests-dry-run-2.sh

index 8e1e51e6a98a1066840e59eff03506f27708e0d2..01ff3e1b63bffc800665fa55ad6fa4c05bfeb6d1 100755 (executable)
@@ -49,6 +49,9 @@ make_n_ ()
 
 files='foo.log bar.log foo.trs bar.trs'
 
+echo 'exit 0' > foo.test
+echo 'exit 1' > bar.test
+
 for target in check recheck test-suite.log; do
   make_n_ $target
   test ! -e foo.log
@@ -58,9 +61,6 @@ for target in check recheck test-suite.log; do
   test ! -e test-suite.log
 done
 
-echo 'exit 0' > foo.test
-echo 'exit 1' > bar.test
-
 $MAKE check && exit 1
 
 chmod a-w .