spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 10 | 0 | |
FAIL | 0 | 10 | |
total | 10 | 10 | |
case | osh | osh-cpp | description |
0 | pass | FAIL | json write STRING |
details | |||
1 | pass | FAIL | json write ARRAY |
details | |||
2 | pass | FAIL | json write compact format |
details | |||
3 | pass | FAIL | json write in command sub |
details | |||
4 | pass | FAIL | json read passed invalid args |
details | |||
5 | pass | FAIL | json read with redirect |
details | |||
6 | pass | FAIL | json read at end of pipeline (relies on lastpipe) |
details | |||
7 | pass | FAIL | invalid JSON |
details | |||
8 | pass | FAIL | json write expression |
details | |||
9 | pass | FAIL | json write evaluation error |
details |
10 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped
osh-cpp | 0 json write STRING [osh-cpp stdout] Expected '"foo"\n"foo"\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 1 json write ARRAY [osh-cpp stdout] Expected '[\n "foo.cc",\n "foo.h"\n]\n[\n"foo.cc",\n"foo.h"\n]\n' Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 2 json write compact format [osh-cpp stdout] Expected '{"name":"bob","age":30}\n{"name":"bob","age":30}\n' Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 3 json write in command sub [osh-cpp stdout] Expected '{\n "name": "bob",\n "age": 30\n}\n{\n "name": "bob",\n "age": 30\n}\n' Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 4 json read passed invalid args [osh-cpp stdout] Expected 'status=2\nstatus=2\nstatus=2\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 5 json read with redirect [osh-cpp stdout] Expected "x = (Cell exported:F readonly:F nameref:F val:(value.Obj obj:{'age': 42}))\n" Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 6 json read at end of pipeline (relies on lastpipe) [osh-cpp stdout] Expected "y = (Cell exported:F readonly:F nameref:F val:(value.Obj obj:{'age': 43}))\n" Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 7 invalid JSON [osh-cpp stdout] Expected 'pipeline status = 1\n', got '' [osh-cpp status] Expected 1, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 8 json write expression [osh-cpp stdout] Expected '[1,2,3]\nstatus=0\nstatus=2\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 9 json write evaluation error [osh-cpp status] Expected 1, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |