spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 16 | 16 | 14 | |
FAIL | 2 | 2 | 4 | |
total | 18 | 18 | 18 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | pass | wait with nothing to wait for |
1 | pass | pass | pass | wait -n with nothing to wait for |
2 | FAIL | FAIL | FAIL | wait with jobspec syntax %nonexistent |
details | details | details | ||
3 | pass | pass | pass | wait with invalid PID |
4 | pass | pass | pass | wait with invalid arg |
5 | pass | pass | pass | Builtin in background |
6 | pass | pass | pass | External command in background |
7 | pass | pass | pass | Pipeline in Background |
8 | FAIL | FAIL | FAIL | Wait for job doesn't support PIPESTATUS |
details | details | details | ||
9 | pass | pass | pass | Brace group in background, wait all |
10 | pass | pass | pass | Wait on background process PID |
11 | pass | pass | pass | Wait on multiple specific IDs returns last status |
12 | pass | pass | pass | wait -n |
13 | pass | pass | pass | Async for loop |
14 | pass | pass | pass | Background process doesn't affect parent |
15 | pass | pass | pass | Background process and then a singleton pipeline |
16 | pass | pass | FAIL | jobs prints one line per job |
details | ||||
17 | pass | pass | FAIL | jobs -p prints one line per job |
details |
46 passed, 0 OK, 0 not implemented, 0 BUG, 8 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' doesn't support bash-style jobspecs (got '%nonexistent') |
osh_.py | 2 wait with jobspec syntax %nonexistent [osh_.py status] Expected 127, got 2 stdout: stderr: wait %nonexistent ^ [ stdin ]:1: 'wait' doesn't support bash-style jobspecs (got '%nonexistent') |
osh_.cc | 2 wait with jobspec syntax %nonexistent [osh_.cc status] Expected 127, got 2 stdout: stderr: wait %nonexistent ^ [ stdin ]:1: 'wait' doesn't support bash-style jobspecs (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=2 pipestatus=141 1\n' stdout: status=1 pipestatus=141 1 status=0 pipestatus=141 1 status=2 pipestatus=141 1stderr: wait %+ ^ [ stdin ]:7: 'wait' doesn't support bash-style jobspecs (got '%+') |
osh_.py | 8 Wait for job doesn't support PIPESTATUS [osh_.py 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=2 pipestatus=141 1\n' stdout: status=1 pipestatus=141 1 status=0 pipestatus=141 1 status=2 pipestatus=141 1stderr: wait %+ ^ [ stdin ]:7: 'wait' doesn't support bash-style jobspecs (got '%+') |
osh_.cc | 8 Wait for job doesn't support PIPESTATUS [osh_.cc stdout] Expected 'status=1 pipestatus=55 1\nstatus=0 pipestatus=0\nstatus=1 pipestatus=1\n', got 'status=1 pipestatus=\nstatus=0 pipestatus=\nstatus=2 pipestatus=\n' stdout: status=1 pipestatus= status=0 pipestatus= status=2 pipestatus=stderr: wait %+ ^ [ stdin ]:7: 'wait' doesn't support bash-style jobspecs (got '%+') |
osh_.cc | 16 jobs prints one line per job [osh_.cc stdout] Expected '2\n', got '0\n' stdout: 0stderr: terminate called after throwing an instance of 'KeyError*' |
osh_.cc | 17 jobs -p prints one line per job [osh_.cc stdout] Expected '2\n2\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' |