Results for background.test.sh

statusdashbashmkshosh
pass 17232023
ok 1100
N-I 7250
BUG 1010
FAIL 0003
total26262626
casedashbashmkshoshdescription
0pass pass pass pass wait with nothing to wait for
1N-I pass N-I pass wait -n with arguments - arguments are respected
detailsdetails
2N-I pass N-I pass wait -n with nothing to wait for
detailsdetails
3ok pass pass FAIL wait with jobspec syntax %nonexistent
detailsdetails
4pass pass pass pass wait with invalid PID
5pass ok BUG pass wait with invalid arg
detailsdetails
6pass pass pass pass wait for N parallel jobs
7pass pass pass pass wait for N parallel jobs and check failure
8pass pass pass pass Builtin in background
9pass pass pass pass External command in background
10pass pass pass pass Start background pipeline, wait $pid
11pass pass pass pass Start background pipeline, wait %job_spec
12N-I pass pass FAIL Wait for job and PIPESTATUS
detailsdetails
13N-I pass pass FAIL Wait for job and PIPESTATUS - cat
detailsdetails
14pass pass pass pass Brace group in background, wait all
15pass pass pass pass Wait on background process PID
16pass pass pass pass Wait on multiple specific IDs returns last status
17N-I pass N-I pass wait -n
detailsdetails
18pass pass pass pass Async for loop
19pass pass pass pass Background process doesn't affect parent
20pass pass pass pass Background process and then a singleton pipeline
21BUG pass pass pass jobs prints one line per job
details
22pass pass pass pass jobs -p prints one line per job
23pass pass pass pass No stderr spew when shell is not interactive
24N-I N-I N-I pass YSH wait --all
detailsdetailsdetails
25N-I N-I N-I pass YSH wait --verbose
detailsdetailsdetails
83 passed, 2 OK, 14 not implemented, 2 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

dash1 wait -n with arguments - arguments are respected

stdout:
stderr: 
mksh1 wait -n with arguments - arguments are respected

stdout:
stderr: 
dash2 wait -n with nothing to wait for

stdout:
stderr: 
dash: 1: wait: Illegal option -n
mksh2 wait -n with nothing to wait for

stdout:
stderr: 
mksh: <stdin>[1]: wait: -n: unknown option
dash3 wait with jobspec syntax %nonexistent

stdout:
stderr: 
dash: 1: wait: No such job: %nonexistent
osh3 wait with jobspec syntax %nonexistent

[osh status] Expected 127, got 2

stdout:
stderr: 
  wait %nonexistent
       ^
[ stdin ]:1: 'wait' expected PID or jobspec, got '%nonexistent'
bash5 wait with invalid arg

stdout:
stderr: 
bash: line 1: wait: `zzz': not a pid or valid job spec
mksh5 wait with invalid arg

stdout:
stderr: 
mksh: <stdin>[1]: wait: zzz: argument must be %job or process id
dash12 Wait for job and PIPESTATUS

stdout:
stderr: 
dash: 2: Bad substitution
osh12 Wait for job and PIPESTATUS

[osh stdout] Expected 'fore status=1 pipestatus=55 1\nback status=0 pipestatus=0\nwait status=1 pipestatus=1\n' Got 'fore status=1 pipestatus=141 1\nback status=0 pipestatus=141 1\nwait status=1 pipestatus=141 1\n'

stdout:
fore status=1 pipestatus=141 1
back status=0 pipestatus=141 1
wait status=1 pipestatus=141 1
stderr:
dash13 Wait for job and PIPESTATUS - cat

stdout:
stderr: 
dash: 2: Bad substitution
osh13 Wait for job and PIPESTATUS - cat

[osh stdout] Expected 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=0\nwait status=88 pipestatus=88\n\nwait status=77 pipestatus=77\n' Got 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=55 99\nwait status=88 pipestatus=55 99\n\nwait status=77 pipestatus=55 99\n'

stdout:
fore status=99 pipestatus=55 99
back status=0 pipestatus=55 99
wait status=88 pipestatus=55 99

wait status=77 pipestatus=55 99
stderr:
dash17 wait -n

stdout:
stderr: 
mksh17 wait -n

stdout:
stderr: 
dash21 jobs prints one line per job

stdout:
0
stderr:
dash24 YSH wait --all

stdout:
stderr: 
bash24 YSH wait --all

stdout:
stderr: 
mksh24 YSH wait --all

stdout:
stderr: 
dash25 YSH wait --verbose

stdout:
stderr: 
bash25 YSH wait --verbose

stdout:
stderr: 
mksh25 YSH wait --verbose

stdout:
stderr: