spec test index / oilshell.org
| status | osh | osh_.py | osh_.cc | |
| pass | 4 | 4 | 0 | |
| FAIL | 1 | 1 | 5 | |
| total | 5 | 5 | 5 | |
| case | osh | osh_.py | osh_.cc | description |
| 0 | pass | pass | FAIL | If empty command |
| details | ||||
| 1 | pass | pass | FAIL | If subshell true |
| details | ||||
| 2 | pass | pass | FAIL | If subshell true WITH OUTPUT is different |
| details | ||||
| 3 | pass | pass | FAIL | If subshell true WITH ARGUMENT |
| details | ||||
| 4 | FAIL | FAIL | FAIL | If subshell false -- exit code is propagated in a weird way (strict_argv prevents) |
| details | details | details |
8 passed, 0 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh_.cc | 0 If empty command [osh_.cc stdout] Expected 'FALSE\n', got 'FALSE\nTRUE\n' stdout: FALSE TRUEstderr: osh: PID -1 stopped, but osh didn't start it dumb_alloc: gNumNew = 1897 gNumDelete = 139 gMemPos = 65568 gNumMalloc = 80 gNumFree = 0 gMemPos2 = 10480 dumb_alloc: gNumNew = 1889 gNumDelete = 137 gMemPos = 65296 gNumMalloc = 75 gNumFree = 0 gMemPos2 = 10400 |
| osh_.cc | 1 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:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh_.cc | 2 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:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh_.cc | 3 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:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh | 4 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 | 4 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 | 4 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:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |