spec test index / oilshell.org
| status | osh | osh-cpp | |
| pass | 16 | 16 | |
| FAIL | 2 | 2 | |
| total | 18 | 18 | |
| case | osh | osh-cpp | description | 
| 0 | pass | pass | wait with nothing to wait for | 
| 1 | pass | pass | wait -n with nothing to wait for | 
| 2 | FAIL | FAIL | wait with jobspec syntax %nonexistent | 
| details | details | ||
| 3 | pass | pass | wait with invalid PID | 
| 4 | pass | pass | wait with invalid arg | 
| 5 | pass | pass | Builtin in background | 
| 6 | pass | pass | External command in background | 
| 7 | pass | pass | Pipeline in Background | 
| 8 | FAIL | FAIL | Wait for job doesn't support PIPESTATUS | 
| details | details | ||
| 9 | pass | pass | Brace group in background, wait all | 
| 10 | pass | pass | Wait on background process PID | 
| 11 | pass | pass | Wait on multiple specific IDs returns last status | 
| 12 | pass | pass | wait -n | 
| 13 | pass | pass | Async for loop | 
| 14 | pass | pass | Background process doesn't affect parent | 
| 15 | pass | pass | Background process and then a singleton pipeline | 
| 16 | pass | pass | jobs prints one line per job | 
| 17 | pass | 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
| osh | 2 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-cpp | 2 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'
 | 
| osh | 8 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 1stderr: [1] Done PGID 4423  | 
| osh-cpp | 8 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 1stderr: [1] Done PGID 4439  |