spec test index / oilshell.org
status | dash | bash | mksh | osh | osh_ALT | |
pass | 5 | 7 | 7 | 8 | 8 | |
ok | 4 | 2 | 2 | 0 | 0 | |
FAIL | 0 | 0 | 0 | 1 | 1 | |
total | 9 | 9 | 9 | 9 | 9 | |
case | dash | bash | mksh | osh | osh_ALT | description |
0 | ok | pass | pass | pass | pass | Truncating 'exit' status |
details | ||||||
1 | ok | pass | pass | pass | pass | Truncating 'return' status |
details | ||||||
2 | ok | ok | ok | pass | pass | subshell OverflowError https://github.com/oilshell/oil/issues/996 |
details | details | details | ||||
3 | ok | ok | ok | pass | pass | func subshell OverflowError https://github.com/oilshell/oil/issues/996 |
details | details | details | ||||
4 | pass | pass | pass | pass | pass | If empty command |
5 | pass | pass | pass | pass | pass | If subshell true |
6 | pass | pass | pass | pass | pass | If subshell true WITH OUTPUT is different |
7 | pass | pass | pass | pass | pass | If subshell true WITH ARGUMENT |
8 | pass | pass | pass | FAIL | FAIL | If subshell false -- exit code is propagated in a weird way (strict_argv prevents) |
details | details |
35 passed, 8 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
dash | 0 Truncating 'exit' status stdout: status=255 status=0 status=1 === status=2 status=2stderr: dash: 1: exit: Illegal number: -1 dash: 1: exit: Illegal number: -2 |
dash | 1 Truncating 'return' status stdout: status=255 status=256 status=257 ===stderr: dash: 12: return: Illegal number: -1 |
dash | 2 subshell OverflowError https://github.com/oilshell/oil/issues/996 stdout: status=255 status=2 Illegal number status=2 Illegal numberstderr: |
bash | 2 subshell OverflowError https://github.com/oilshell/oil/issues/996 stdout: status=1 return: can only status=1 return: can only status=1 return: can onlystderr: |
mksh | 2 subshell OverflowError https://github.com/oilshell/oil/issues/996 stdout: status=255 status=1 bad number status=1 bad numberstderr: |
dash | 3 func subshell OverflowError https://github.com/oilshell/oil/issues/996 stdout: status=255 status=2 Illegal number status=2 Illegal numberstderr: |
bash | 3 func subshell OverflowError https://github.com/oilshell/oil/issues/996 stdout: status=255 status=0 status=1stderr: |
mksh | 3 func subshell OverflowError https://github.com/oilshell/oil/issues/996 stdout: status=255 status=1 bad number status=1 bad numberstderr: |
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_ALT | 8 If subshell false -- exit code is propagated in a weird way (strict_argv prevents) [osh_ALT stdout] Expected 'FALSE\n', got 'TRUE\n' stdout: TRUEstderr: |