spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 2 | 1 | 1 | |
ok | 3 | 3 | 1 | |
FAIL | 0 | 1 | 3 | |
total | 5 | 5 | 5 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | pass | Prefix env on assignment |
1 | pass | FAIL | FAIL | Redirect on assignment (enabled 7/2019) |
details | details | |||
2 | ok | ok | ok | Prefix env on control flow |
details | details | details | ||
3 | ok | ok | FAIL | Redirect on control flow (ignored in OSH) |
details | details | details | ||
4 | ok | ok | FAIL | Redirect on control flow with oil:basic |
details | details | details |
4 passed, 7 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
osh_.py | 1 Redirect on assignment (enabled 7/2019) [osh_.py stdout] Expected 'REDIRECTED\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: |
osh_.cc | 1 Redirect on assignment (enabled 7/2019) [osh_.cc stdout] Expected 'REDIRECTED\n', got "(cmd_value.Argv argv:[rm -f '_tmp/r.txt'] arg_spids:[18 20 22])\n" [osh_.cc status] Expected 0, got -6 stdout: (cmd_value.Argv argv:[rm -f '_tmp/r.txt'] arg_spids:[18 20 22])stderr: Unhandled SimpleCommand osh_eval.dbg: cpp/osh_bool_stat.h:18: bool bool_stat::DoUnaryOp(id_kind_asdl::Id_t, Str *): 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 |
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) [osh_.cc stdout] Expected 'NO\n', got "(cmd_value.Argv argv:[rm -f '_tmp/r.txt'] arg_spids:[0 2 4])\n" [osh_.cc status] Expected 0, got -6 stdout: (cmd_value.Argv argv:[rm -f '_tmp/r.txt'] arg_spids:[0 2 4])stderr: Unhandled SimpleCommand osh_eval.dbg: cpp/osh_bool_stat.h:18: bool bool_stat::DoUnaryOp(id_kind_asdl::Id_t, Str *): Assertion `0' failed. |
osh | 4 Redirect on control flow with oil:basic stdout: stderr: break > _tmp/r.txt ^~~~~ [ stdin ]:4: Control flow shouldn't have redirects |
osh_.py | 4 Redirect on control flow with oil:basic stdout: stderr: break > _tmp/r.txt ^~~~~ [ stdin ]:4: Control flow shouldn't have redirects |
osh_.cc | 4 Redirect on control flow with oil:basic [osh_.cc stdout] Expected u'', got "(cmd_value.Argv argv:[rm -f '_tmp/r.txt'] arg_spids:[8 10 12])\n" stdout: (cmd_value.Argv argv:[rm -f '_tmp/r.txt'] arg_spids:[8 10 12])stderr: Unhandled SimpleCommand break > _tmp/r.txt ^~~~~ [ stdin ]:4: Control flow shouldn't have redirects |