testsuite: Fixed racecondition giving false errors.

This commit is contained in:
Ole Tange 2013-02-04 22:15:41 +01:00
parent f5d2b95970
commit 58750eecaa

View file

@ -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);