summaryrefslogtreecommitdiff
path: root/tests/parallel-tests.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parallel-tests.test')
-rwxr-xr-xtests/parallel-tests.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/parallel-tests.test b/tests/parallel-tests.test
index f046c3f28..95f78e736 100755
--- a/tests/parallel-tests.test
+++ b/tests/parallel-tests.test
@@ -68,10 +68,13 @@ $AUTOMAKE -a
$MAKE check >stdout && { cat stdout; Exit 1; }
cat stdout
-# There should be two errors: bar.test is a hard error.
-test `grep -c '^FAIL' stdout` -eq 2
+# There should be one failure and one hard error.
+test `grep -c '^FAIL:' stdout` -eq 1
+test `grep -c '^ERROR:' stdout` -eq 1
test -f mylog.log
-test `grep -c '^FAIL' mylog.log` -eq 2
+cat mylog.log
+test `grep -c '^FAIL:' mylog.log` -eq 1
+test `grep -c '^ERROR:' mylog.log` -eq 1
test -f baz.log
test -f bar.log
test -f foo.log