spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 2 | 2 | 1 | |
ok | 3 | 3 | 2 | |
FAIL | 0 | 0 | 2 | |
total | 5 | 5 | 5 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | pass | Prefix env on assignment |
1 | pass | pass | FAIL | Redirect on assignment (enabled 7/2019) |
details | ||||
2 | ok | ok | ok | Prefix env on control flow |
details | details | details | ||
3 | ok | ok | ok | Redirect on control flow (ignored in OSH) |
details | details | details | ||
4 | ok | ok | FAIL | Redirect on control flow with oil:all (parse_ignored) |
details | details | details |
5 passed, 8 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
osh_.cc | 1 Redirect on assignment (enabled 7/2019) [osh_.cc stdout] Expected 'REDIRECTED\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 | 2 Prefix env on control flow stdout: stderr: E=env break ^~ [ stdin ]:3: Control flow shouldn't have environment bindings |
osh_.py | 2 Prefix env on control flow stdout: stderr: E=env break ^~ [ stdin ]:3: Control flow shouldn't have environment bindings |
osh_.cc | 2 Prefix env on control flow stdout: stderr: E=env break ^~ [ stdin ]:3: Control flow shouldn't have environment bindings dumb_alloc: gNumNew = 1742 gNumDelete = 118 gMemPos = 61136 gNumMalloc = 39 gNumFree = 0 gMemPos2 = 9216 |
osh | 3 Redirect on control flow (ignored in OSH) stdout: NOstderr: |
osh_.py | 3 Redirect on control flow (ignored in OSH) stdout: NOstderr: |
osh_.cc | 3 Redirect on control flow (ignored in OSH) stdout: NOstderr: dumb_alloc: gNumNew = 2331 gNumDelete = 208 gMemPos = 77424 gNumMalloc = 230 gNumFree = 0 gMemPos2 = 12304 |
osh | 4 Redirect on control flow with oil:all (parse_ignored) stdout: stderr: break > _tmp/r.txt ^~~~~ [ stdin ]:4: Control flow shouldn't have redirects |
osh_.py | 4 Redirect on control flow with oil:all (parse_ignored) stdout: stderr: break > _tmp/r.txt ^~~~~ [ stdin ]:4: Control flow shouldn't have redirects |
osh_.cc | 4 Redirect on control flow with oil:all (parse_ignored) [osh_.cc status] Expected 2, got 1 stdout: stderr: rm -f _tmp/r.txt ^~ [ stdin ]:2: fatal: Exiting with status -1 (command in PID 28518) dumb_alloc: gNumNew = 1952 gNumDelete = 166 gMemPos = 67088 gNumMalloc = 100 gNumFree = 0 gMemPos2 = 10208 |