2011-01-02 00:01:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo '### Test distribute arguments at EOF to 2 jobslots'
|
|
|
|
seq 1 92 | parallel -j+0 -kX -s 100 echo
|
|
|
|
|
|
|
|
echo '### Test distribute arguments at EOF to 5 jobslots'
|
|
|
|
seq 1 92 | parallel -j+3 -kX -s 100 echo
|
|
|
|
|
|
|
|
echo '### Test distribute arguments at EOF to infinity jobslots'
|
|
|
|
seq 1 92 | parallel -j0 -kX -s 100 echo
|
|
|
|
|
2011-01-05 17:10:58 +00:00
|
|
|
echo '### Test -N is not broken by distribution - single line'
|
|
|
|
seq 9 | parallel -N 10 echo
|
|
|
|
|
|
|
|
echo '### Test -N is not broken by distribution - two lines'
|
2011-01-17 12:38:58 +00:00
|
|
|
seq 19 | parallel -k -N 10 echo
|
2011-01-05 17:10:58 +00:00
|
|
|
|
2011-07-16 23:46:02 +00:00
|
|
|
echo '### Test -N context replace'
|
2011-07-22 08:47:14 +00:00
|
|
|
seq 19 | parallel -k -N 10 echo a{}b
|
2011-01-05 17:10:58 +00:00
|
|
|
|
2011-07-16 23:46:02 +00:00
|
|
|
echo '### Test -L context replace'
|
2011-07-22 08:47:14 +00:00
|
|
|
seq 19 | parallel -k -L 10 echo a{}b
|