2010-05-27 06:09:28 +00:00
|
|
|
### Test -k
|
2011-06-11 23:19:29 +00:00
|
|
|
parallel: Warning: Only enough filehandles to run 20 jobs in parallel. Raising ulimit -n may help.
|
2009-09-04 05:23:57 +00:00
|
|
|
begin
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
|
|
|
7
|
|
|
|
8
|
|
|
|
9
|
|
|
|
10
|
|
|
|
11
|
|
|
|
12
|
|
|
|
13
|
|
|
|
14
|
|
|
|
15
|
|
|
|
16
|
|
|
|
17
|
|
|
|
18
|
|
|
|
19
|
|
|
|
20
|
|
|
|
21
|
|
|
|
22
|
|
|
|
23
|
|
|
|
24
|
|
|
|
25
|
|
|
|
26
|
|
|
|
27
|
|
|
|
28
|
|
|
|
29
|
|
|
|
30
|
|
|
|
end
|
2010-09-21 20:00:30 +00:00
|
|
|
### Test --keep-order
|
|
|
|
job0
|
|
|
|
job1
|
|
|
|
job2
|
|
|
|
### Test --keeporder
|
|
|
|
job0
|
|
|
|
job1
|
|
|
|
job2
|
2010-05-27 06:09:28 +00:00
|
|
|
### Test SIGTERM
|
2009-10-26 11:22:21 +00:00
|
|
|
1
|
|
|
|
10
|
|
|
|
11
|
|
|
|
12
|
|
|
|
13
|
|
|
|
14
|
|
|
|
15
|
|
|
|
16
|
|
|
|
17
|
|
|
|
18
|
2010-10-26 23:50:58 +00:00
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
|
|
|
7
|
|
|
|
8
|
|
|
|
9
|
|
|
|
parallel: SIGTERM received. No new jobs will be started.
|
|
|
|
parallel: Waiting for these 9 jobs to finish. Send SIGTERM again to stop now.
|
|
|
|
parallel: sleep 3; echo 10
|
|
|
|
parallel: sleep 3; echo 11
|
|
|
|
parallel: sleep 3; echo 12
|
|
|
|
parallel: sleep 3; echo 13
|
|
|
|
parallel: sleep 3; echo 14
|
|
|
|
parallel: sleep 3; echo 15
|
|
|
|
parallel: sleep 3; echo 16
|
|
|
|
parallel: sleep 3; echo 17
|
|
|
|
parallel: sleep 3; echo 18
|
2011-06-03 12:53:14 +00:00
|
|
|
### Test bug: empty line for | sh with -k
|
|
|
|
a
|
2011-06-11 23:19:29 +00:00
|
|
|
b
|