spec test index / oilshell.org
44 passed, 0 OK, 0 not implemented, 0 BUG, 8 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_ALT | 17 Dict (&d) { ... } converts frame to dict [ysh_ALT 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.39139/23-ysh\n' [ysh status] Expected 0, got 1 stdout: /tmp /home/uke/oil/_tmp/spec-tmp/ysh-builtin-eval.test.sh.39139/23-yshstderr: var frag = getCommandFrag(block) ^~~~~~~~~~~~~~ [ stdin ]:8: fatal: Undefined variable 'getCommandFrag' |
ysh_ALT | 23 io->evalInFrame() can express try, cd builtins [ysh_ALT 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.39139/23-ysh_ALT\n' [ysh_ALT status] Expected 0, got 1 stdout: /tmp /home/uke/oil/_tmp/spec-tmp/ysh-builtin-eval.test.sh.39139/23-ysh_ALTstderr: 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_ALT | 24 parseCommand(), io->evalInFrame(frag, frame) can behave like eval $mystr [ysh_ALT stdout] Expected 'mylocal=42\nmylocal=99\n', got 'mylocal=42\n' [ysh_ALT 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_ALT | 25 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) |