spec test index / oilshell.org
| status | osh | osh_.py | osh_.cc | |
| pass | 2 | 2 | 1 | |
| ok | 3 | 3 | 3 | |
| FAIL | 0 | 0 | 1 | |
| 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 | ok | Redirect on control flow with oil:all (parse_ignored) |
| details | details | details |
5 passed, 9 OK, 0 not implemented, 0 BUG, 1 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:143: 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 = 1708
gNumDelete = 118
gMemPos = 60048
gNumMalloc = 40
gNumFree = 0
gMemPos2 = 9840
|
| 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 = 2327 gNumDelete = 209 gMemPos = 77696 gNumMalloc = 231 gNumFree = 0 gMemPos2 = 12928 |
| 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) stdout: stderr: break > _tmp/r.txt
^~~~~
[ stdin ]:4: Control flow shouldn't have redirects
dumb_alloc:
gNumNew = 2030
gNumDelete = 179
gMemPos = 70080
gNumMalloc = 116
gNumFree = 0
gMemPos2 = 11072
|