ysh-builtin-eval () { run-file ysh-builtin-eval "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" }
spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 4 | 4 | |
FAIL | 1 | 1 | |
total | 5 | 5 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | Eval does not take a literal block - can restore this later |
1 | pass | pass | Eval a block within a proc |
2 | pass | pass | Eval block created by calling a proc |
3 | pass | pass | eval (block) can read variables like eval '' |
4 | FAIL | FAIL | eval should have a sandboxed mode |
details | details |
8 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh | 4 eval should have a sandboxed mode [ysh stdout] Expected 'TODO\n', got '' stdout: stderr: push-frame { ^ [ stdin ]:4: fatal: 'push-frame' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh_ALT | 4 eval should have a sandboxed mode [ysh_ALT stdout] Expected 'TODO\n', got '' stdout: stderr: push-frame { ^ [ stdin ]:4: fatal: 'push-frame' appears to be external. External commands don't accept typed args (OILS-ERR-200) |