Results for background.test.sh

casedashbashmkshoshosh_ALTdescription
0pass pass pass pass pass wait with nothing to wait for
1ok pass ok pass pass wait -n with nothing to wait for
detailsdetails
2ok pass pass FAIL FAIL wait with jobspec syntax %nonexistent
detailsdetailsdetails
3pass pass pass pass pass wait with invalid PID
4pass ok BUG pass pass wait with invalid arg
detailsdetails
5pass pass pass pass pass Builtin in background
6pass pass pass pass pass External command in background
7pass pass pass pass pass Pipeline in Background
8N-I BUG N-I pass pass Wait sets PIPESTATUS
detailsdetailsdetails
9pass pass pass pass pass Brace group in background, wait all
10pass pass pass pass pass Wait on background process PID
11pass pass pass pass pass Wait on multiple specific IDs returns last status
12N-I pass N-I pass pass wait -n
detailsdetails
13pass pass pass pass pass Async for loop
14pass pass pass pass pass Background process doesn't affect parent

63 passed, 4 ok, 4 known unimplemented, 2 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

dash1 wait -n with nothing to wait for

stdout:
stderr: 
_tmp/spec-bin/dash: 1: wait: Illegal option -n
mksh1 wait -n with nothing to wait for

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: wait: -n: unknown option
dash2 wait with jobspec syntax %nonexistent

stdout:
stderr: 
_tmp/spec-bin/dash: 1: wait: No such job: %nonexistent
osh2 wait with jobspec syntax %nonexistent

[osh status] Expected 127, got 2

stdout:
stderr: 
  wait %nonexistent
       ^
[ stdin ]:1: 'wait' doesn't support bash-style jobspecs (got '%nonexistent')
osh_ALT2 wait with jobspec syntax %nonexistent

[osh_ALT status] Expected 127, got 2

stdout:
stderr: 
  wait %nonexistent
       ^
[ stdin ]:1: 'wait' doesn't support bash-style jobspecs (got '%nonexistent')
bash4 wait with invalid arg

stdout:
stderr: 
_tmp/spec-bin/bash: line 1: wait: `zzz': not a pid or valid job spec
mksh4 wait with invalid arg

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: wait: zzz: argument must be %job or process id
dash8 Wait sets PIPESTATUS

stdout:
stderr: 
_tmp/spec-bin/dash: 2: Bad substitution
bash8 Wait sets PIPESTATUS

stdout:
pipestatus=
status=99
pipestatus=0
stderr:
mksh8 Wait sets PIPESTATUS

stdout:
pipestatus=0
status=99
pipestatus=0
stderr:
dash12 wait -n

stdout:
status=2
status=2
stderr:
_tmp/spec-bin/dash: 3: wait: Illegal option -n
_tmp/spec-bin/dash: 5: wait: Illegal option -n
mksh12 wait -n

stdout:
status=1
status=1
stderr:
_tmp/spec-bin/mksh: <stdin>[3]: wait: -n: unknown option
_tmp/spec-bin/mksh: <stdin>[5]: wait: -n: unknown option