From 58750eecaa5f5d67e6b4f8197e8a0b6e27bac7b5 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Mon, 4 Feb 2013 22:15:41 +0100 Subject: [PATCH] testsuite: Fixed racecondition giving false errors. --- testsuite/tests-to-run/parallel-local22.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/tests-to-run/parallel-local22.sh b/testsuite/tests-to-run/parallel-local22.sh index 34ceccdd..5e813327 100755 --- a/testsuite/tests-to-run/parallel-local22.sh +++ b/testsuite/tests-to-run/parallel-local22.sh @@ -10,7 +10,7 @@ echo '### Test of xargs -m command lines > 130k'; rm /tmp/a$$ echo '### Test of xargs -X command lines > 130k'; - seq 1 60000 | parallel -X -j1 echo a{}b{}c | tee >(wc) >(sort |md5sum) >/tmp/b$$; + seq 1 60000 | parallel -X -j1 echo a{}b{}c | tee >(wc) >(sort | (sleep 1; md5sum)) >/tmp/b$$; wait; CHAR=$(cat /tmp/b$$ | wc -c); LINES=$(cat /tmp/b$$ | wc -l);