mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 21:27:53 +00:00
11b21d638c
exponential backoff in --semaphore mode. --regexp test. testsuite passes.
254 lines
1.8 KiB
Plaintext
254 lines
1.8 KiB
Plaintext
### Test --pipe
|
|
### Test -N with multiple jobslots and multiple args
|
|
1
|
|
a
|
|
a
|
|
1
|
|
2
|
|
bb
|
|
bb
|
|
1
|
|
2
|
|
3
|
|
ccc
|
|
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
|
|
ggggggg
|
|
1
|
|
2
|
|
3
|
|
hhhhhhhh
|
|
4
|
|
5
|
|
6
|
|
hhhhhhhh
|
|
7
|
|
8
|
|
hhhhhhhh
|
|
hhhhhhhh
|
|
1
|
|
2
|
|
3
|
|
iiiiiiiii
|
|
4
|
|
5
|
|
6
|
|
iiiiiiiii
|
|
7
|
|
8
|
|
9
|
|
iiiiiiiii
|
|
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
|
|
a
|
|
3
|
|
4
|
|
a
|
|
5
|
|
a
|
|
a
|
|
1
|
|
2
|
|
b
|
|
3
|
|
4
|
|
b
|
|
5
|
|
b
|
|
b
|
|
1
|
|
2
|
|
c
|
|
3
|
|
4
|
|
c
|
|
5
|
|
c
|
|
c
|
|
1
|
|
2
|
|
d
|
|
3
|
|
4
|
|
d
|
|
5
|
|
d
|
|
d
|
|
### Test output is the same for different block size
|
|
1>01a02a0a
|
|
2>0a12a34a
|
|
3>45a6a
|
|
1>01a02a0a
|
|
2>0a12a34a
|
|
3>45a6a
|
|
### Test 100M records with too big block
|
|
6888906
|
|
6888906
|
|
6888906
|
|
### Test 300M records with too small block
|
|
303111434
|
|
303111434
|
|
303111434
|
|
### 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 -
|