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 pass pass wait with invalid job ID
details
3ok pass pass pass pass wait with invalid PID
details
4pass pass pass pass pass Builtin in background
5pass pass pass pass pass External command in background
6pass pass pass pass pass Pipeline in Background
7N-I BUG N-I pass pass Wait sets PIPESTATUS
detailsdetailsdetails
8pass pass pass pass pass Brace group in background, wait all
9pass pass pass pass pass Wait on background process PID
10pass pass pass pass pass Wait on multiple specific IDs returns last status
11N-I pass N-I pass pass wait -n
detailsdetails
12pass pass pass pass pass Async for loop
13pass pass pass pass pass Background process doesn't affect parent

61 passed, 4 ok, 4 known unimplemented, 1 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

dash1 wait -n with nothing to wait for

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

stdout:
stderr: 
/bin/mksh: <stdin>[1]: wait: -n: unknown option
dash2 wait with invalid job ID

stdout:
stderr: 
/bin/dash: 1: wait: No such job: %nonexistent
dash3 wait with invalid PID

stdout:
stderr: 
/bin/dash: 1: wait: No such job: %nonexistent
dash7 Wait sets PIPESTATUS

stdout:
stderr: 
/bin/dash: 2: Bad substitution
bash7 Wait sets PIPESTATUS

stdout:
pipestatus=
status=99
pipestatus=0
stderr:
/bin/bash: line 1: echo: write error: Broken pipe
mksh7 Wait sets PIPESTATUS

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

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

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