mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-26 16:07:54 +00:00
parallel: --files implemnted with small test
This commit is contained in:
parent
0247e4beee
commit
4fd971f005
|
@ -10,12 +10,12 @@ rm /tmp/parallel.ss.*
|
||||||
seq 1 10 | stdout parallel -j 5 --spreadstdin 'cat >/tmp/parallel.ss.$PARALLEL_SEQ' >/dev/null
|
seq 1 10 | stdout parallel -j 5 --spreadstdin 'cat >/tmp/parallel.ss.$PARALLEL_SEQ' >/dev/null
|
||||||
cat /tmp/parallel.ss.*
|
cat /tmp/parallel.ss.*
|
||||||
|
|
||||||
seq 1 1000| parallel -j1 --spreadstdin cat "|cat "|wc -c
|
seq 1 1000 | parallel -j1 --spreadstdin cat "|cat "|wc -c
|
||||||
seq 1 10000| parallel -j10 --spreadstdin cat "|cat "|wc -c
|
seq 1 10000 | parallel -j10 --spreadstdin cat "|cat "|wc -c
|
||||||
seq 1 100000| parallel -j1 --spreadstdin cat "|cat "|wc -c
|
seq 1 100000 | parallel -j1 --spreadstdin cat "|cat "|wc -c
|
||||||
seq 1 1000000| parallel -j10 --spreadstdin cat "|cat "|wc -c
|
seq 1 1000000 | parallel -j10 --spreadstdin cat "|cat "|wc -c
|
||||||
|
|
||||||
seq 1 10 | src/parallel --recend "\n" -j1 --spreadstdin gzip -9 >/tmp/foo.gz
|
seq 1 10 | parallel --recend "\n" -j1 --spreadstdin gzip -9 >/tmp/foo.gz
|
||||||
|
|
||||||
echo '### Test --spreadstdin - similar to the failing below'
|
echo '### Test --spreadstdin - similar to the failing below'
|
||||||
seq 1 100000 | parallel --recend "\n" -j10 --spreadstdin gzip -9 >/tmp/foo.gz
|
seq 1 100000 | parallel --recend "\n" -j10 --spreadstdin gzip -9 >/tmp/foo.gz
|
||||||
|
@ -31,4 +31,4 @@ echo '### Test --spreadstdin -k'
|
||||||
seq 1 1000000 | parallel -k --recend "\n" -j10 --spreadstdin gzip -9 | zcat | md5sum
|
seq 1 1000000 | parallel -k --recend "\n" -j10 --spreadstdin gzip -9 | zcat | md5sum
|
||||||
|
|
||||||
echo '### Test --spreadstdin --files'
|
echo '### Test --spreadstdin --files'
|
||||||
seq 1 1000000 | shuf | parallel --files --recend "\n" -j10 --spreadstdin sort | parallel -X sort -m | md5sum
|
nice seq 1 1000000 | shuf | parallel --files --recend "\n" -j10 --spreadstdin sort -n | parallel -Xj1 sort -nm {} ";"rm {} | md5sum
|
||||||
|
|
|
@ -19,3 +19,11 @@
|
||||||
48894
|
48894
|
||||||
588895
|
588895
|
||||||
6888896
|
6888896
|
||||||
|
### Test --spreadstdin - similar to the failing below
|
||||||
|
### Test --spreadstdin - this failed during devel
|
||||||
|
8a7095c1c23bfadc311fe6b16d950582 -
|
||||||
|
8a7095c1c23bfadc311fe6b16d950582 -
|
||||||
|
### Test --spreadstdin -k
|
||||||
|
8a7095c1c23bfadc311fe6b16d950582 -
|
||||||
|
### Test --spreadstdin --files
|
||||||
|
8a7095c1c23bfadc311fe6b16d950582 -
|
||||||
|
|
Loading…
Reference in a new issue