mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 13:17:54 +00:00
257 lines
2.3 KiB
Plaintext
257 lines
2.3 KiB
Plaintext
### Test --pipe
|
|
### Test 200M records with too small block
|
|
parallel: Warning: A full record was not matched in a block. Increasing to --blocksize 260000000
|
|
303111434
|
|
303111434
|
|
303111434
|
|
### Test -N with multiple jobslots and multiple args
|
|
1
|
|
a
|
|
1
|
|
2
|
|
bb
|
|
1
|
|
2
|
|
3
|
|
ccc
|
|
1
|
|
2
|
|
3
|
|
dddd
|
|
4
|
|
dddd
|
|
1
|
|
2
|
|
3
|
|
eeeee
|
|
4
|
|
5
|
|
eeeee
|
|
1
|
|
2
|
|
3
|
|
ffffff
|
|
4
|
|
5
|
|
6
|
|
ffffff
|
|
1
|
|
2
|
|
3
|
|
ggggggg
|
|
4
|
|
5
|
|
6
|
|
ggggggg
|
|
7
|
|
ggggggg
|
|
1
|
|
2
|
|
3
|
|
hhhhhhhh
|
|
4
|
|
5
|
|
6
|
|
hhhhhhhh
|
|
7
|
|
8
|
|
hhhhhhhh
|
|
1
|
|
2
|
|
3
|
|
iiiiiiiii
|
|
4
|
|
5
|
|
6
|
|
iiiiiiiii
|
|
7
|
|
8
|
|
9
|
|
iiiiiiiii
|
|
1
|
|
2
|
|
3
|
|
jjjjjjjjjj
|
|
4
|
|
5
|
|
6
|
|
jjjjjjjjjj
|
|
7
|
|
8
|
|
9
|
|
jjjjjjjjjj
|
|
10
|
|
jjjjjjjjjj
|
|
### Test -l -N -L and -n with multiple jobslots and multiple args
|
|
1
|
|
2
|
|
3
|
|
4
|
|
a
|
|
5
|
|
6
|
|
7
|
|
8
|
|
a
|
|
9
|
|
10
|
|
a
|
|
11
|
|
12
|
|
a
|
|
1
|
|
2
|
|
b
|
|
3
|
|
4
|
|
b
|
|
5
|
|
b
|
|
1
|
|
2
|
|
d
|
|
3
|
|
4
|
|
d
|
|
5
|
|
d
|
|
### Test -L --pipe
|
|
1
|
|
2
|
|
3
|
|
4
|
|
c
|
|
5
|
|
c
|
|
### Test output is the same for different block size
|
|
1>01a02a0a
|
|
2>0a12a34a
|
|
3>45a6a
|
|
parallel: Warning: A full record was not matched in a block. Increasing to --blocksize 2
|
|
parallel: Warning: A full record was not matched in a block. Increasing to --blocksize 3
|
|
parallel: Warning: A full record was not matched in a block. Increasing to --blocksize 4
|
|
1>01a02a0a
|
|
parallel: Warning: A full record was not matched in a block. Increasing to --blocksize 6
|
|
2>0a12a34a
|
|
3>45a6a
|
|
### Test 10M records with too big block
|
|
6888906
|
|
6888906
|
|
6888906
|
|
### Test --rrs -N1 --recend single
|
|
1>12
|
|
2>34
|
|
3>45
|
|
4>6
|
|
|
|
### Test --rrs -N1 --regexp --recend alternate
|
|
1>12
|
|
2>34
|
|
3>45
|
|
4>6
|
|
|
|
### Test --rrs -N1 --recend single
|
|
1>12a34
|
|
2>45a6
|
|
|
|
### Test --rrs --recend single
|
|
1>123445
|
|
2>6
|
|
|
|
### Test --rrs --regexp --recend alternate
|
|
1>123445
|
|
2>6
|
|
|
|
### Test --rrs --recend single
|
|
1>12a34
|
|
2>45a6
|
|
|
|
### Test -N even
|
|
1
|
|
2
|
|
ole
|
|
3
|
|
4
|
|
ole
|
|
5
|
|
6
|
|
ole
|
|
7
|
|
8
|
|
ole
|
|
9
|
|
10
|
|
ole
|
|
### Test -N odd
|
|
1
|
|
2
|
|
ole
|
|
3
|
|
4
|
|
ole
|
|
5
|
|
6
|
|
ole
|
|
7
|
|
8
|
|
ole
|
|
9
|
|
10
|
|
ole
|
|
11
|
|
ole
|
|
### Test -N even+2
|
|
1
|
|
2
|
|
ole
|
|
3
|
|
4
|
|
ole
|
|
5
|
|
6
|
|
ole
|
|
7
|
|
8
|
|
ole
|
|
9
|
|
10
|
|
ole
|
|
11
|
|
12
|
|
ole
|
|
### Test --recstart + --recend
|
|
3c20e43c58152da30261c5827a1f9084 -
|
|
### Race condition bug - 1 - would block
|
|
### Race condition bug - 2 - would block
|
|
### Test --block size=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0
|
|
1
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
### Test --block size=1M -j10 --files - more jobs than data
|
|
8a7095c1c23bfadc311fe6b16d950582 -
|
|
8a7095c1c23bfadc311fe6b16d950582 -
|
|
### Test --block size=1M -j1 - more data than cpu
|
|
8a7095c1c23bfadc311fe6b16d950582 -
|
|
### Test --block size=1M -j1 - more data than cpu
|
|
8a7095c1c23bfadc311fe6b16d950582 -
|
|
### Test --pipe default settings
|
|
8a7095c1c23bfadc311fe6b16d950582 -
|