spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 13 | 13 | |
FAIL | 3 | 3 | |
total | 16 | 16 | |
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 | ||
5 | pass | pass | eval with argv bindings |
6 | FAIL | FAIL | eval lines with argv bindings |
details | details | ||
7 | FAIL | FAIL | eval lines with var bindings |
details | details | ||
8 | pass | pass | eval with custom dollar0 |
9 | pass | pass | eval with vars bindings |
10 | pass | pass | dynamic binding names and mutation |
11 | pass | pass | binding procs in the eval-ed namespace |
12 | pass | pass | vars initializes the variable frame, but does not remember it |
13 | pass | pass | eval pos_args must be strings |
14 | pass | pass | eval with vars follows same scoping as without |
15 | pass | pass | eval 'mystring' vs. eval (myblock) |
26 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 3 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) |
ysh | 6 eval lines with argv bindings [ysh stdout] Expected 'b a\nd c\nb a mylocal\nd c mylocal\n\nb a local2\nd c local2\n' Got '' [ysh status] Expected 0, got 3 stdout: stderr: var cols = _reply => split() ^ [ stdin ]:3: fatal: Expected at least 2 typed args, but only got 1 printf 'a b\nc d\n' | my-split { ^~~~~~~~ [ stdin ]:8: errexit PID 36220: command.Pipeline failed with status 3 |
ysh_ALT | 6 eval lines with argv bindings [ysh_ALT stdout] Expected 'b a\nd c\nb a mylocal\nd c mylocal\n\nb a local2\nd c local2\n' Got '' [ysh_ALT status] Expected 0, got 3 stdout: stderr: var cols = _reply => split() ^ [ stdin ]:3: fatal: Expected at least 2 typed args, but only got 1 printf 'a b\nc d\n' | my-split { ^~~~~~~~ [ stdin ]:8: errexit PID 36224: command.Pipeline failed with status 3 |
ysh | 7 eval lines with var bindings [ysh stdout] Expected 'a b | a mylocal\nc d | c mylocal\n\na b | a local2\nc d | c local2\n' Got '' [ysh status] Expected 0, got 3 stdout: stderr: var cols = _reply => split() ^ [ stdin ]:3: fatal: Expected at least 2 typed args, but only got 1 printf 'a b\nc d\n' | my-split { ^~~~~~~~ [ stdin ]:8: errexit PID 36226: command.Pipeline failed with status 3 |
ysh_ALT | 7 eval lines with var bindings [ysh_ALT stdout] Expected 'a b | a mylocal\nc d | c mylocal\n\na b | a local2\nc d | c local2\n' Got '' [ysh_ALT status] Expected 0, got 3 stdout: stderr: var cols = _reply => split() ^ [ stdin ]:3: fatal: Expected at least 2 typed args, but only got 1 printf 'a b\nc d\n' | my-split { ^~~~~~~~ [ stdin ]:8: errexit PID 36230: command.Pipeline failed with status 3 |