spec test index / oilshell.org
35 passed, 0 OK, 0 not implemented, 0 BUG, 22 failed, 0 timeouts, 0 cases skipped
osh_.py | 0 help [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 417, in <module> status = main(sys.argv) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 309, in main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 168, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1461, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1341, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 580, in _Dispatch status = self._RunSimpleCommand(cmd_val, node.do_fork) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 488, in _RunSimpleCommand return self.shell_ex.RunSimpleCommand(cmd_val, do_fork) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 388, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 351, in RunBuiltin builtin_func = self.builtins[builtin_id] KeyError: 45 |
osh_.cc | 0 help [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: mycpp/mylib.h:596: V Dict<int, vm::_Builtin *>::index(K) [K = int, V = vm::_Builtin *]: Assertion `0' failed. |
osh_.py | 1 bad help topic [osh_.py stdout] Expected 'help=1\ngrep=0\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 417, in <module> status = main(sys.argv) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 309, in main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 168, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1461, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1333, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 580, in _Dispatch status = self._RunSimpleCommand(cmd_val, node.do_fork) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 488, in _RunSimpleCommand return self.shell_ex.RunSimpleCommand(cmd_val, do_fork) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 388, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 351, in RunBuiltin builtin_func = self.builtins[builtin_id] KeyError: 45 |
osh_.cc | 1 bad help topic [osh_.cc stdout] Expected 'help=1\ngrep=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: mycpp/mylib.h:596: V Dict<int, vm::_Builtin *>::index(K) [K = int, V = vm::_Builtin *]: Assertion `0' failed. |
osh_.cc | 5 type -t -> keyword [osh_.cc stdout] Expected 'keyword\nkeyword\nkeyword\nkeyword\nkeyword\nkeyword\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.cc | 6 type -t control flow [osh_.cc stdout] Expected 'keyword\nkeyword\nkeyword\nkeyword\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.py | 7 type -t -> file [osh_.py stdout] Expected 'file\nfile\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: type: 'find' not found type: 'xargs' not found |
osh_.cc | 7 type -t -> file [osh_.cc stdout] Expected 'file\nfile\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.cc | 8 type -t doesn't find non-executable (like command -v) [osh_.cc stdout] Expected u'', got "(cmd_value.Argv argv:[touch '/non-executable'] arg_spids:[7 9])\n" [osh_.cc status] Expected 1, got -6 stdout: (cmd_value.Argv argv:[touch '/non-executable'] arg_spids:[7 9])stderr: Unhandled SimpleCommand osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.py | 9 type -t -> not found [osh_.py stdout] Expected 'builtin\nfile\nstatus=1\n', got 'builtin\nstatus=1\n' stdout: builtin status=1stderr: type: 'ZZZ' not found type: 'find' not found type: '=' not found |
osh_.cc | 9 type -t -> not found [osh_.cc stdout] Expected 'builtin\nfile\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.py | 10 type -p builtin -> file [osh_.py stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: type: 'mv' not found type: 'tar' not found type: 'grep' not found |
osh_.cc | 10 type -p builtin -> file [osh_.cc stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.cc | 11 type -p builtin -> not found [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.py | 13 type -P builtin -> file [osh_.py stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: type: 'mv' not found type: 'tar' not found type: 'grep' not found |
osh_.cc | 13 type -P builtin -> file [osh_.cc stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.cc | 14 type -P builtin -> not found [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.py | 16 type -P builtin -> not a file but file found [osh_.py stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got '' stdout: stderr: |
osh_.cc | 16 type -P builtin -> not a file but file found [osh_.cc stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got '' stdout: stderr: |
osh_.cc | 17 type -f builtin -> not found [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |
osh_.py | 18 type -f builtin -> function and file exists [osh_.py stdout] Expected '/bin/mv is a file\n/bin/tar is a file\n/bin/grep is a file\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: type: 'mv' not found type: 'tar' not found type: 'grep' not found |
osh_.cc | 18 type -f builtin -> function and file exists [osh_.cc stdout] Expected '/bin/mv is a file\n/bin/tar is a file\n/bin/grep is a file\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: _build/cpp/consts.cc:621: bool consts::IsControlFlow(Str *): Assertion `0' failed. |