summaryrefslogtreecommitdiff
path: root/t/parallel-tests-dry-run-2.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/parallel-tests-dry-run-2.sh')
-rwxr-xr-xt/parallel-tests-dry-run-2.sh21
1 files changed, 11 insertions, 10 deletions
diff --git a/t/parallel-tests-dry-run-2.sh b/t/parallel-tests-dry-run-2.sh
index 940cab29f..11a0f459a 100755
--- a/t/parallel-tests-dry-run-2.sh
+++ b/t/parallel-tests-dry-run-2.sh
@@ -49,17 +49,18 @@ make_n_ ()
files='foo.log bar.log foo.trs bar.trs'
-for target in check recheck test-suite.log; do
- test ! -f foo.log
- test ! -f foo.trs
- test ! -f bar.log
- test ! -f bar.trs
- test ! -f test-suite.log
-done
-
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
+ test ! -e foo.trs
+ test ! -e bar.log
+ test ! -e bar.trs
+ test ! -e test-suite.log
+done
+
$MAKE check && exit 1
chmod a-w .
@@ -101,9 +102,9 @@ rm -f foo.log bar.trs
chmod a-w .
for target in check recheck test-suite.log $files; do
make_n_ $target
- test ! -f foo.log
+ test ! -e foo.log
test -f foo.trs
- test ! -f bar.trs
+ test ! -e bar.trs
test -f bar.log
done