mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
Better unittest for -x
This commit is contained in:
parent
cc478161e3
commit
f38da581b7
|
@ -1,3 +1,4 @@
|
||||||
33bf8b2986551515cdaff5e860618098 -
|
33bf8b2986551515cdaff5e860618098 -
|
||||||
960bedf6398273937e314fb49c7b3ffa -
|
960bedf6398273937e314fb49c7b3ffa -
|
||||||
d8547d352ca313f4f7b479dc808ecf43 -
|
8f7a50abe8d1024e90a2bc9c99ee0b05 -
|
||||||
|
3 80000 468894
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This causes problems if we kill child processes
|
# This causes problems if we kill child processes
|
||||||
|
|
||||||
seq 1 40 | parallel -j 0 seq 1 10 | sort |md5sum
|
seq 1 40 | parallel -j 0 seq 1 10 | sort |md5sum
|
||||||
seq 1 40 | parallel -j 0 seq 1 10 '| parallel -j 3 echo' | sort |md5sum
|
seq 1 40 | parallel -j 0 seq 1 10 '| parallel -j 3 echo' | sort |md5sum
|
||||||
|
|
||||||
# Test of xargs
|
# Test of xargs
|
||||||
seq 1 30000 | parallel echo | sort |md5sum
|
seq 1 80000 | parallel -x echo | mop -d 4 "|sort |md5sum" "| wc"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
33bf8b2986551515cdaff5e860618098 -
|
33bf8b2986551515cdaff5e860618098 -
|
||||||
960bedf6398273937e314fb49c7b3ffa -
|
960bedf6398273937e314fb49c7b3ffa -
|
||||||
d8547d352ca313f4f7b479dc808ecf43 -
|
8f7a50abe8d1024e90a2bc9c99ee0b05 -
|
||||||
|
3 80000 468894
|
||||||
|
|
Loading…
Reference in a new issue