spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 3 | 0 | |
FAIL | 0 | 3 | |
total | 3 | 3 | |
case | osh | osh-cpp | description |
0 | pass | FAIL | not, and, or |
details | |||
1 | pass | FAIL | and-or chains for typed data |
details | |||
2 | pass | FAIL | x if b else y |
details |
3 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
osh-cpp | 0 not, and, or [osh-cpp stdout] Expected 'false\nfalse\ntrue\n', got '\n\n\n' stdout: stderr: |
osh-cpp | 1 and-or chains for typed data [osh-cpp stdout] Expected 's\nNone\nx\ny\ny\n\n42\n0\n42\n0\n0.5\n0.0\n[\'a\']\n[]\n{\'d\': 1}\n{}\nOR\nAND\n---\n"s"\nnull\nx\ny\ny\n\n42\n0\n42\n0\n0.5\n0.0\n["a"]\n[]\n{"d":1}\n{}\nOR\nAND\n["1","2","3"]\n{"k":"v"}\n' Got "s\nNone\nx\ny\ny\n\n42\n0\n42\n0\n0.5\n0.0\n['a']\n[]\n{'d': 1}\n{}\nOR\nAND\n---\n" [osh-cpp status] Expected 0, got -6 stdout: s None x y y 42 0 42 0 0.5 0.0 ['a'] [] {'d': 1} {} OR AND ---stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 2 x if b else y [osh-cpp stdout] Expected '43\n41\n', got '\n\n' stdout: stderr: |