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'
|
|
|
|
seq 19 | parallel -N 10 echo
|
|
|
|
|
|
|
|
|
2011-01-02 00:01:21 +00:00
|
|
|
|
|
|
|
|