spec test index / oilshell.org
44 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
ysh | 17 Dict (&d) { ... } converts frame to dict [ysh stdout] Expected '', got '(Dict) {"bare":42,"k3":"k3"}\n' stdout: (Dict) {"bare":42,"k3":"k3"}stderr: |
ysh-cpp | 17 Dict (&d) { ... } converts frame to dict [ysh-cpp stdout] Expected '', got '(Dict) {"bare":42,"k3":"k3"}\n' stdout: (Dict) {"bare":42,"k3":"k3"}stderr: |
ysh | 23 io->evalInFrame() can express try, cd builtins [ysh stdout] Expected 'x: i = 0, j = 2\nx: i = 1, j = 3\nx: i = 2, j = 4\n' Got '/tmp /home/uke/oil/_tmp/spec-tmp/ysh-builtin-eval.test.sh.27150/23-ysh\n' [ysh status] Expected 0, got 1 stdout: /tmp /home/uke/oil/_tmp/spec-tmp/ysh-builtin-eval.test.sh.27150/23-yshstderr: var frag = getCommandFrag(block) ^~~~~~~~~~~~~~ [ stdin ]:8: fatal: Undefined variable 'getCommandFrag' |
ysh-cpp | 23 io->evalInFrame() can express try, cd builtins [ysh-cpp stdout] Expected 'x: i = 0, j = 2\nx: i = 1, j = 3\nx: i = 2, j = 4\n' Got '/tmp /home/uke/oil/_tmp/spec-tmp/ysh-builtin-eval.test.sh.27150/23-ysh-cpp\n' [ysh-cpp status] Expected 0, got 1 stdout: /tmp /home/uke/oil/_tmp/spec-tmp/ysh-builtin-eval.test.sh.27150/23-ysh-cppstderr: var frag = getCommandFrag(block) ^~~~~~~~~~~~~~ [ stdin ]:8: fatal: Undefined variable 'getCommandFrag' |
ysh | 24 parseCommand(), io->evalInFrame(frag, frame) can behave like eval $mystr [ysh stdout] Expected 'mylocal=42\nmylocal=99\n', got 'mylocal=42\n' [ysh status] Expected 0, got 1 stdout: mylocal=42stderr: echo mylocal=$mylocal ^~~~~~~~ [ stdin ]:15: fatal: Undefined variable 'mylocal' |
ysh-cpp | 24 parseCommand(), io->evalInFrame(frag, frame) can behave like eval $mystr [ysh-cpp stdout] Expected 'mylocal=42\nmylocal=99\n', got 'mylocal=42\n' [ysh-cpp status] Expected 0, got 1 stdout: mylocal=42stderr: echo mylocal=$mylocal ^~~~~~~~ [ stdin ]:15: fatal: Undefined variable 'mylocal' |
ysh | 25 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 | 25 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) |