Results for background.test.sh

statusoshosh-cpp
pass 1616
FAIL 22
total1818
caseoshosh-cppdescription
0pass pass wait with nothing to wait for
1pass pass wait -n with nothing to wait for
2FAIL FAIL wait with jobspec syntax %nonexistent
detailsdetails
3pass pass wait with invalid PID
4pass pass wait with invalid arg
5pass pass Builtin in background
6pass pass External command in background
7pass pass Pipeline in Background
8FAIL FAIL Wait for job doesn't support PIPESTATUS
detailsdetails
9pass pass Brace group in background, wait all
10pass pass Wait on background process PID
11pass pass Wait on multiple specific IDs returns last status
12pass pass wait -n
13pass pass Async for loop
14pass pass Background process doesn't affect parent
15pass pass Background process and then a singleton pipeline
16pass pass jobs prints one line per job
17pass pass jobs -p prints one line per job
32 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh2 wait with jobspec syntax %nonexistent

[osh status] Expected 127, got 2

stdout:
stderr: 
  wait %nonexistent
       ^
[ stdin ]:1: 'wait' expected PID or jobspec, got '%nonexistent'
osh-cpp2 wait with jobspec syntax %nonexistent

[osh-cpp status] Expected 127, got 2

stdout:
stderr: 
  wait %nonexistent
       ^
[ stdin ]:1: 'wait' expected PID or jobspec, got '%nonexistent'
osh8 Wait for job doesn't support PIPESTATUS

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

stdout:
status=1 pipestatus=141 1
status=0 pipestatus=141 1
status=1 pipestatus=141 1
stderr:
[%1] PGID 4396 Done
osh-cpp8 Wait for job doesn't support PIPESTATUS

[osh-cpp stdout] Expected 'status=1 pipestatus=55 1\nstatus=0 pipestatus=0\nstatus=1 pipestatus=1\n' Got 'status=1 pipestatus=141 1\nstatus=0 pipestatus=141 1\nstatus=1 pipestatus=141 1\n'

stdout:
status=1 pipestatus=141 1
status=0 pipestatus=141 1
status=1 pipestatus=141 1
stderr:
[%1] PGID 4412 Done