spec test index / oilshell.org
| status | ysh | ysh-cpp | |
| pass | 15 | 15 | |
| FAIL | 1 | 1 | |
| total | 16 | 16 | |
| case | ysh | ysh-cpp | 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 | pass | pass | eval lines with argv bindings |
| 7 | pass | pass | eval lines with var bindings |
| 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) |
30 passed, 0 OK, 0 not implemented, 0 BUG, 1 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-cpp | 4 eval should have a sandboxed mode [ysh-cpp 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)
|