mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-27 15:17:54 +00:00
59 lines
2 KiB
Plaintext
59 lines
2 KiB
Plaintext
### Test exit val
|
|
0
|
|
1
|
|
### Test --halt-on-error
|
|
1
|
|
parallel: Starting no more jobs. Waiting for 2 jobs to finish. This job failed:
|
|
sleep 2;false
|
|
1
|
|
parallel: This job failed:
|
|
sleep 2;false
|
|
1
|
|
sh: non_exist: command not found
|
|
2
|
|
parallel: Starting no more jobs. Waiting for 3 jobs to finish. This job failed:
|
|
sleep 2;false
|
|
sh: non_exist: command not found
|
|
parallel: Starting no more jobs. Waiting for 1 jobs to finish. This job failed:
|
|
sleep 4; non_exist
|
|
127
|
|
parallel: This job failed:
|
|
sleep 2;false
|
|
1
|
|
### Test last dying print --halt-on-error
|
|
0
|
|
1
|
|
parallel: Starting no more jobs. Waiting for 9 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 1
|
|
2
|
|
parallel: Starting no more jobs. Waiting for 8 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 2
|
|
3
|
|
parallel: Starting no more jobs. Waiting for 7 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 3
|
|
4
|
|
parallel: Starting no more jobs. Waiting for 6 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 4
|
|
5
|
|
parallel: Starting no more jobs. Waiting for 5 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 5
|
|
6
|
|
parallel: Starting no more jobs. Waiting for 4 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 6
|
|
7
|
|
parallel: Starting no more jobs. Waiting for 3 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 7
|
|
8
|
|
0
|
|
parallel: Starting no more jobs. Waiting for 2 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 8
|
|
9
|
|
parallel: Starting no more jobs. Waiting for 1 jobs to finish. This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 9
|
|
9
|
|
0
|
|
1
|
|
parallel: This job failed:
|
|
perl -e sleep\ \$ARGV[0]\;print\ STDERR\ @ARGV,\"\\n\"\;\ exit\ shift 1
|
|
1
|