spec test index / oilshell.org
| status | osh | |
| pass | 4 | |
| FAIL | 2 | |
| total | 6 | |
| case | osh | description |
| 0 | FAIL | Turn off external binaries with shvar PATH='' {} |
| details | ||
| 1 | FAIL | More shvar PATH='' |
| details | ||
| 2 | pass | builtins and externals not available in hay eval |
| 3 | pass | procs in hay eval |
| 4 | pass | variables mutated within hay eval don't persist |
| 5 | pass | hay at top level allows arbitrary commands |
4 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
| osh | 0 Turn off external binaries with shvar PATH='' {} [osh stdout] Expected 'status=0\nstatus=127\nstatus=127\nstatus=0\n' Got 'status=0\n' [osh status] Expected 0, got 1 stdout: status=0stderr: if (len(args) === 0) {
^
stdlib/ysh/shvar.ysh:3: Unexpected left paren (might need a space before it)
'file' -> '/tmp/file'
shvar PATH='' {
^
[ stdin ]:12: fatal: 'shvar' appears to be external. External commands don't accept typed args (OILS-ERR-200)
|
| osh | 1 More shvar PATH='' [osh stdout] Expected 'status=127\nstatus=127\n_status 127\n', got '' [osh status] Expected 0, got 1 stdout: stderr: if (len(args) === 0) {
^
stdlib/ysh/shvar.ysh:3: Unexpected left paren (might need a space before it)
shvar PATH='' {
^
[ stdin ]:5: fatal: 'shvar' appears to be external. External commands don't accept typed args (OILS-ERR-200)
|