spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 3 | 1 | 1 | |
FAIL | 0 | 2 | 2 | |
total | 3 | 3 | 3 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | FAIL | FAIL | Empty do/done |
details | details | |||
1 | pass | pass | pass | Empty case/esac |
2 | pass | FAIL | FAIL | Empty then/fi |
details | details |
5 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
osh_.py | 0 Empty do/done [osh_.py stdout] Expected 'empty\n', got '' [osh_.py status] Expected 0, got 1 [osh_.py stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 341, in <module> status = main(sys.argv) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 228, in main status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, optimize=optimize) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1017, in _Dispatch cond_status = self._ExecuteList(node.cond) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1357, in _ExecuteList status = self._Execute(child) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 597, in _Dispatch status = self._Execute(node.child) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 573, in _Dispatch status = self._RunSimpleCommand(cmd_val, node.do_fork) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 481, in _RunSimpleCommand return self.shell_ex.RunSimpleCommand(cmd_val, do_fork) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 321, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 302, in RunBuiltin builtin_func = self.builtins[builtin_id] KeyError: 19 |
osh_.cc | 0 Empty do/done [osh_.cc stdout] Expected 'empty\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: mycpp/mylib.h:578: V Dict<int, vm::_Builtin *>::index(K) [K = int, V = vm::_Builtin *]: Assertion `0' failed. |
osh_.py | 2 Empty then/fi [osh_.py stdout] Expected 'empty\n', got '(cmd_value.Argv argv:[foo] arg_spids:[2])\nempty\n' stdout: (cmd_value.Argv argv:[foo] arg_spids:[2]) emptystderr: Unhandled SimpleCommand |
osh_.cc | 2 Empty then/fi [osh_.cc stdout] Expected 'empty\n', got '(cmd_value.Argv argv:[foo] arg_spids:[2])\nempty\n' stdout: (cmd_value.Argv argv:[foo] arg_spids:[2]) emptystderr: Unhandled SimpleCommand |