2011-01-24 19:06:30 +00:00
|
|
|
### Test --pipe
|
2011-08-20 19:13:25 +00:00
|
|
|
### Test 200M records with too small block
|
2014-03-22 11:38:45 +00:00
|
|
|
parallel: Warning: A record was longer than 200000000. Increasing to --blocksize 260000001
|
2011-08-20 19:13:25 +00:00
|
|
|
303111434
|
|
|
|
303111434
|
|
|
|
303111434
|
2011-01-27 21:05:34 +00:00
|
|
|
### 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
|
2011-02-21 20:44:19 +00:00
|
|
|
### Test -l -N -L and -n with multiple jobslots and multiple args
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
a
|
|
|
|
5
|
2013-02-01 19:42:45 +00:00
|
|
|
6
|
|
|
|
7
|
|
|
|
8
|
|
|
|
a
|
|
|
|
9
|
|
|
|
10
|
|
|
|
a
|
|
|
|
11
|
|
|
|
12
|
2011-02-21 20:44:19 +00:00
|
|
|
a
|
|
|
|
1
|
|
|
|
2
|
|
|
|
b
|
|
|
|
3
|
|
|
|
4
|
|
|
|
b
|
|
|
|
5
|
|
|
|
b
|
|
|
|
1
|
|
|
|
2
|
2012-11-25 23:19:58 +00:00
|
|
|
d
|
2011-02-21 20:44:19 +00:00
|
|
|
3
|
|
|
|
4
|
2012-11-25 23:19:58 +00:00
|
|
|
d
|
2011-02-21 20:44:19 +00:00
|
|
|
5
|
2012-11-25 23:19:58 +00:00
|
|
|
d
|
|
|
|
### Test -L --pipe
|
2011-02-21 20:44:19 +00:00
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
2013-02-02 21:20:36 +00:00
|
|
|
c
|
2011-02-21 20:44:19 +00:00
|
|
|
5
|
2012-11-25 23:19:58 +00:00
|
|
|
c
|
2011-01-27 21:05:34 +00:00
|
|
|
### Test output is the same for different block size
|
|
|
|
1>01a02a0a
|
|
|
|
2>0a12a34a
|
|
|
|
3>45a6a
|
2014-03-22 11:38:45 +00:00
|
|
|
parallel: Warning: A record was longer than 1. Increasing to --blocksize 3
|
|
|
|
parallel: Warning: A record was longer than 3. Increasing to --blocksize 5
|
2011-01-27 21:05:34 +00:00
|
|
|
1>01a02a0a
|
2014-03-22 11:38:45 +00:00
|
|
|
parallel: Warning: A record was longer than 5. Increasing to --blocksize 8
|
2011-01-27 21:05:34 +00:00
|
|
|
2>0a12a34a
|
|
|
|
3>45a6a
|
2011-08-20 19:13:25 +00:00
|
|
|
### Test 10M records with too big block
|
2011-01-27 21:05:34 +00:00
|
|
|
6888906
|
|
|
|
6888906
|
|
|
|
6888906
|
2011-01-25 23:34:08 +00:00
|
|
|
### Test --rrs -N1 --recend single
|
|
|
|
1>12
|
|
|
|
2>34
|
|
|
|
3>45
|
|
|
|
4>6
|
|
|
|
|
2011-03-01 22:04:15 +00:00
|
|
|
### Test --rrs -N1 --regexp --recend alternate
|
|
|
|
1>12
|
|
|
|
2>34
|
|
|
|
3>45
|
|
|
|
4>6
|
|
|
|
|
2011-01-25 23:34:08 +00:00
|
|
|
### Test --rrs -N1 --recend single
|
|
|
|
1>12a34
|
|
|
|
2>45a6
|
|
|
|
|
|
|
|
### Test --rrs --recend single
|
|
|
|
1>123445
|
|
|
|
2>6
|
2011-01-26 23:29:28 +00:00
|
|
|
|
2011-03-01 22:04:15 +00:00
|
|
|
### Test --rrs --regexp --recend alternate
|
|
|
|
1>123445
|
|
|
|
2>6
|
|
|
|
|
|
|
|
### Test --rrs --recend single
|
2011-01-25 23:34:08 +00:00
|
|
|
1>12a34
|
|
|
|
2>45a6
|
2011-01-26 23:29:28 +00:00
|
|
|
|
2011-01-24 19:06:30 +00:00
|
|
|
### 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
|
2011-01-26 23:29:28 +00:00
|
|
|
3c20e43c58152da30261c5827a1f9084 -
|
2011-01-24 19:06:30 +00:00
|
|
|
### 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 -
|