command-parsing () { sh-spec spec/command-parsing.test.sh ${REF_SHELLS[@]} $OSH_LIST "$@" }
spec test index / oilshell.org
status | dash | bash | mksh | osh | |
pass | 5 | 4 | 5 | 2 | |
ok | 0 | 1 | 0 | 3 | |
total | 5 | 5 | 5 | 5 | |
case | dash | bash | mksh | osh | description |
0 | pass | ok | pass | pass | Prefix env on assignment |
details | |||||
1 | pass | pass | pass | pass | Redirect on assignment (enabled 7/2019) |
2 | pass | pass | pass | ok | Prefix env on control flow |
details | |||||
3 | pass | pass | pass | ok | Redirect on control flow (ignored in OSH) |
details | |||||
4 | pass | pass | pass | ok | Redirect on control flow with oil:all (parse_ignored) |
details |
16 passed, 4 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
bash | 0 Prefix env on assignment stdout: varstderr: |
osh | 2 Prefix env on control flow stdout: stderr: E=env break ^~ [ stdin ]:3: Control flow shouldn't have environment bindings |
osh | 3 Redirect on control flow (ignored in OSH) stdout: NOstderr: |
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 |