spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 8 | 8 | 1 | |
FAIL | 1 | 1 | 8 | |
total | 9 | 9 | 9 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | FAIL | Truncating 'exit' status |
details | ||||
1 | pass | pass | pass | Truncating 'return' status |
2 | pass | pass | FAIL | subshell OverflowError https://github.com/oilshell/oil/issues/996 |
details | ||||
3 | pass | pass | FAIL | func subshell OverflowError https://github.com/oilshell/oil/issues/996 |
details | ||||
4 | pass | pass | FAIL | If empty command |
details | ||||
5 | pass | pass | FAIL | If subshell true |
details | ||||
6 | pass | pass | FAIL | If subshell true WITH OUTPUT is different |
details | ||||
7 | pass | pass | FAIL | If subshell true WITH ARGUMENT |
details | ||||
8 | FAIL | FAIL | FAIL | If subshell false -- exit code is propagated in a weird way (strict_argv prevents) |
details | details | details |
17 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh_.cc | 0 Truncating 'exit' status [osh_.cc stdout] Expected 'status=255\nstatus=0\nstatus=1\n===\nstatus=255\nstatus=254\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed. |
osh_.cc | 2 subshell OverflowError https://github.com/oilshell/oil/issues/996 [osh_.cc stdout] Expected 'status=255\nstatus=0\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 3 func subshell OverflowError https://github.com/oilshell/oil/issues/996 [osh_.cc stdout] Expected 'status=255\nstatus=0\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 4 If empty command [osh_.cc stdout] Expected 'FALSE\n', got 'FALSE\nFALSE\n' stdout: FALSE FALSEstderr: dumb_alloc: gNumNew = 1909 gNumDelete = 137 gMemPos = 65696 gNumMalloc = 77 gNumFree = 0 gMemPos2 = 9808 dumb_alloc: gNumNew = 1912 gNumDelete = 138 gMemPos = 65776 gNumMalloc = 79 gNumFree = 0 gMemPos2 = 9840 |
osh_.cc | 5 If subshell true [osh_.cc stdout] Expected 'TRUE\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 6 If subshell true WITH OUTPUT is different [osh_.cc stdout] Expected 'FALSE\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 7 If subshell true WITH ARGUMENT [osh_.cc stdout] Expected 'FALSE\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh | 8 If subshell false -- exit code is propagated in a weird way (strict_argv prevents) [osh stdout] Expected 'FALSE\n', got 'TRUE\n' stdout: TRUEstderr: |
osh_.py | 8 If subshell false -- exit code is propagated in a weird way (strict_argv prevents) [osh_.py stdout] Expected 'FALSE\n', got 'TRUE\n' stdout: TRUEstderr: |
osh_.cc | 8 If subshell false -- exit code is propagated in a weird way (strict_argv prevents) [osh_.cc stdout] Expected 'FALSE\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |