spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 6 | 1 | |
FAIL | 0 | 5 | |
total | 6 | 6 | |
case | osh | osh-cpp | description |
0 | pass | pass | Turn off external binaries with shvar PATH='' {} |
1 | pass | FAIL | More shvar PATH='' |
details | |||
2 | pass | FAIL | builtins and externals not available in hay eval |
details | |||
3 | pass | FAIL | procs in hay eval |
details | |||
4 | pass | FAIL | variables mutated within hay eval don't persist |
details | |||
5 | pass | FAIL | hay at top level allows arbitrary commands |
details |
7 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped
osh-cpp | 1 More shvar PATH='' [osh-cpp stdout] Expected 'status=127\nstatus=127\n_status 127\n', got 'status=127\nstatus=127\n_status\n' stdout: status=127 status=127 _statusstderr: ( cp -v file /tmp >&2 ) ^~ [ stdin ]:4: 'cp' not found cp -v file /tmp >&2 ^~ [ stdin ]:8: 'cp' not found true $(cp -v file /tmp >&2) ^~ [ stdin ]:13: 'cp' not found |
osh-cpp | 2 builtins and externals not available in hay eval [osh-cpp stdout] Expected 'status 127\nstatus 127\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 procs in hay eval [osh-cpp stdout] Expected 'outside\ninside\n1 OUT\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 variables mutated within hay eval don't persist [osh-cpp stdout] Expected 'x = 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 | 5 hay at top level allows arbitrary commands [osh-cpp stdout] Expected '3\n4\ninside\n', got '' [osh-cpp status] Expected 127, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |