mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 23:47:53 +00:00
testsuite: Fixed racecondition giving false errors.
This commit is contained in:
parent
f5d2b95970
commit
58750eecaa
|
@ -10,7 +10,7 @@ echo '### Test of xargs -m command lines > 130k';
|
||||||
rm /tmp/a$$
|
rm /tmp/a$$
|
||||||
|
|
||||||
echo '### Test of xargs -X command lines > 130k';
|
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;
|
wait;
|
||||||
CHAR=$(cat /tmp/b$$ | wc -c);
|
CHAR=$(cat /tmp/b$$ | wc -c);
|
||||||
LINES=$(cat /tmp/b$$ | wc -l);
|
LINES=$(cat /tmp/b$$ | wc -l);
|
||||||
|
|
Loading…
Reference in a new issue