mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-24 15:07:55 +00:00
8bec8de5df
Passes testsuite.
80 lines
1.2 KiB
Plaintext
80 lines
1.2 KiB
Plaintext
### Test -k
|
|
parallel: Warning: Only enough file handles to run 9 jobs in parallel.
|
|
parallel: Warning: Running 'parallel -j0 -N 9 --pipe parallel -j0' or
|
|
parallel: Warning: raising ulimit -n or /etc/security/limits.conf may help.
|
|
parallel: Warning: No more file handles.
|
|
parallel: Warning: Raising ulimit -n or /etc/security/limits.conf may help.
|
|
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
|
|
### Test --keep-order
|
|
job0
|
|
job1
|
|
job2
|
|
### Test --keeporder
|
|
job0
|
|
job1
|
|
job2
|
|
### Test SIGTERM
|
|
1
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
parallel: SIGTERM received. No new jobs will be started.
|
|
parallel: Waiting for these 8 jobs to finish. Send SIGTERM again to stop now.
|
|
parallel: Warning: Only enough file handles to run 8 jobs in parallel.
|
|
parallel: Warning: Running 'parallel -j0 -N 8 --pipe parallel -j0' or
|
|
parallel: Warning: raising ulimit -n or /etc/security/limits.conf may help.
|
|
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 9
|
|
### Test bug: empty line for | sh with -k
|
|
a
|
|
b
|