mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 05:07:54 +00:00
Test suite added. Closes bug #32232.
This commit is contained in:
parent
c535c25450
commit
0250b69ea4
|
@ -17,6 +17,12 @@ seq 1 8 | parallel -j2 -k -N 3 --pipe 'cat;echo hhhhhhhh;sleep 0.1'
|
|||
seq 1 9 | parallel -j2 -k -N 3 --pipe 'cat;echo iiiiiiiii;sleep 0.1'
|
||||
seq 1 10 | parallel -j2 -k -N 3 --pipe 'cat;echo jjjjjjjjjj;sleep 0.1'
|
||||
|
||||
echo '### Test -l -N -L and -n with multiple jobslots and multiple args'
|
||||
seq 1 5 | parallel -kj2 -l 2 --pipe cat \; echo a
|
||||
seq 1 5 | parallel -kj2 -N 2 --pipe cat \; echo b
|
||||
seq 1 5 | parallel -kj2 -L 2 --pipe cat \; echo c
|
||||
seq 1 5 | parallel -kj2 -n 2 --pipe cat \; echo d
|
||||
|
||||
echo '### Test output is the same for different block size'
|
||||
echo -n 01a02a0a0a12a34a45a6a |
|
||||
parallel -k -j1 --blocksize 100 --pipe --recend a -N 3 'echo -n "$PARALLEL_SEQ>"; cat; echo; sleep 0.1'
|
||||
|
|
|
@ -83,6 +83,42 @@ jjjjjjjjjj
|
|||
jjjjjjjjjj
|
||||
10
|
||||
jjjjjjjjjj
|
||||
### Test -l -N -L and -n with multiple jobslots and multiple args
|
||||
1
|
||||
2
|
||||
a
|
||||
3
|
||||
4
|
||||
a
|
||||
5
|
||||
a
|
||||
a
|
||||
1
|
||||
2
|
||||
b
|
||||
3
|
||||
4
|
||||
b
|
||||
5
|
||||
b
|
||||
b
|
||||
1
|
||||
2
|
||||
c
|
||||
3
|
||||
4
|
||||
c
|
||||
5
|
||||
c
|
||||
1
|
||||
2
|
||||
d
|
||||
3
|
||||
4
|
||||
d
|
||||
5
|
||||
d
|
||||
d
|
||||
### Test output is the same for different block size
|
||||
1>01a02a0a
|
||||
2>0a12a34a
|
||||
|
|
Loading…
Reference in a new issue