mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +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$$
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue