summaryrefslogtreecommitdiff
path: root/t/parallel-tests3.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/parallel-tests3.sh')
-rwxr-xr-xt/parallel-tests3.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/parallel-tests3.sh b/t/parallel-tests3.sh
index 8e3be0e50..6a6a9983c 100755
--- a/t/parallel-tests3.sh
+++ b/t/parallel-tests3.sh
@@ -98,7 +98,7 @@ cd ..
# still be ongoing when the parallel one has terminated.
kill -0 $!
cat parallel/stdout
-test `grep -c '^PASS:' parallel/stdout` -eq 12
+test $(grep -c '^PASS:' parallel/stdout) -eq 12
# Wait long enough so that there are no open files any more when the
# post-test cleanup runs. But exit after we've waited for two minutes
@@ -106,7 +106,7 @@ test `grep -c '^PASS:' parallel/stdout` -eq 12
# already happened).
i=1
while test ! -f serial/test-suite.log && test $i -le 120; do
- i=`expr $i + 1`
+ i=$(($i + 1))
sleep '1' # Extra quoting to please maintainer-check.
done
$sleep