spec test index / oilshell.org
58 passed, 0 OK, 0 not implemented, 0 BUG, 26 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh_.py | 1 errexit for nonexistent command [osh_.py stdout] Expected u'', got '(cmd_value.Argv argv:[nonexistent__ZZ] arg_spids:[6])\ndone\n' [osh_.py status] Expected 127, got 0 stdout: (cmd_value.Argv argv:[nonexistent__ZZ] arg_spids:[6]) donestderr: Unhandled SimpleCommand |
osh_.cc | 1 errexit for nonexistent command [osh_.cc stdout] Expected u'', got '(cmd_value.Argv argv:[nonexistent__ZZ] arg_spids:[6])\ndone\n' [osh_.cc status] Expected 127, got 0 stdout: (cmd_value.Argv argv:[nonexistent__ZZ] arg_spids:[6]) donestderr: Unhandled SimpleCommand |
osh_.py | 2 errexit aborts early on pipeline [osh_.py stdout] Expected u'', got 'two\n' [osh_.py status] Expected 1, got 0 stdout: twostderr: |
osh_.cc | 2 errexit aborts early on pipeline [osh_.cc stdout] Expected u'', got 'two\n' [osh_.cc status] Expected 1, got 0 stdout: twostderr: |
osh_.py | 5 errexit with || [osh_.py stdout] Expected 'ok\n', got '' stdout: stderr: |
osh_.cc | 5 errexit with || [osh_.cc stdout] Expected 'ok\n', got '' stdout: stderr: |
osh_.py | 6 errexit with && [osh_.py status] Expected 1, got 0 stdout: okstderr: |
osh_.cc | 6 errexit with && [osh_.cc status] Expected 1, got 0 stdout: okstderr: |
osh_.cc | 11 errexit and time { } [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: cpp/core_pyos.h:29: Tuple3<double, double, double> pyos::Time(): Assertion `0' failed. |
osh_.py | 16 errexit with subshell [osh_.py stdout] Expected 'one\n', got 'three\n' [osh_.py status] Expected 1, got 0 stdout: threestderr: |
osh_.cc | 16 errexit with subshell [osh_.cc stdout] Expected 'one\n', got 'three\n' [osh_.cc status] Expected 1, got 0 stdout: threestderr: |
osh_.py | 19 setting errexit in a subshell works but doesn't affect parent shell [osh_.py stdout] Expected '1\n2\n3\n5\n6\n', got '5\n6\n' stdout: 5 6stderr: |
osh_.cc | 19 setting errexit in a subshell works but doesn't affect parent shell [osh_.cc stdout] Expected '1\n2\n3\n5\n6\n', got '5\n6\n' stdout: 5 6stderr: |
osh_.py | 20 set errexit while it's ignored in a subshell (moot with strict_errexit) [osh_.py stdout] Expected '1\n2\n3\n4\n5\n6\n', got '5\n6\n' stdout: 5 6stderr: false ^~~~~ [ stdin ]:6: fatal: Exiting with status 1 (command in PID 5488) |
osh_.cc | 20 set errexit while it's ignored in a subshell (moot with strict_errexit) [osh_.cc stdout] Expected '1\n2\n3\n4\n5\n6\n', got '5\n6\n' stdout: 5 6stderr: false ^~~~~ [ stdin ]:6: fatal: Exiting with status 1 (command in PID 5518) |
osh_.py | 23 background processes respect errexit [osh_.py stdout] Expected 'one\n', got '' [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 71, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 35, in main status = pure.Main('osh', arg_r, environ, login_shell, loader, None) File "/home/andy/git/oilshell/oil/core/pure.py", line 449, 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 1438, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1318, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 570, 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/core/pure.py", line 516, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/andy/git/oilshell/oil/core/pure.py", line 479, in RunBuiltin builtin_func = self.builtins[builtin_id] KeyError: 32 |
osh_.cc | 23 background processes respect errexit [osh_.cc stdout] Expected 'one\n', got '' [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: mycpp/mylib.h:689: V Dict<int, vm::_Builtin *>::index(K) [K = int, V = vm::_Builtin *]: Assertion `0' failed. |
osh_.py | 24 pipeline process respects errexit [osh_.py stdout] Expected 'one\n[three]\n', got 'four\n' [osh_.py status] Expected 1, got 0 stdout: fourstderr: |
osh_.cc | 24 pipeline process respects errexit [osh_.cc stdout] Expected 'one\n[three]\n', got 'four\n' [osh_.cc status] Expected 1, got 0 stdout: fourstderr: |
osh_.py | 25 compound command [osh_.py stdout] Expected u'', got '(cmd_value.Argv argv:[cat] arg_spids:[8])\nstatus=0\nshould not get here\n' [osh_.py status] Expected 1, got 0 stdout: (cmd_value.Argv argv:[cat] arg_spids:[8]) status=0 should not get herestderr: Unhandled SimpleCommand |
osh_.cc | 25 compound command [osh_.cc stdout] Expected u'', got '(cmd_value.Argv argv:[cat] arg_spids:[8])\nstatus=0\nshould not get here\n' [osh_.cc status] Expected 1, got 0 stdout: (cmd_value.Argv argv:[cat] arg_spids:[8]) status=0 should not get herestderr: Unhandled SimpleCommand |
osh_.py | 26 while loop [osh_.py stdout] Expected u'', got 'status=0\nshould not get here\n' [osh_.py status] Expected 1, got 0 stdout: status=0 should not get herestderr: |
osh_.cc | 26 while loop [osh_.cc stdout] Expected u'', got 'status=0\nshould not get here\n' [osh_.cc status] Expected 1, got 0 stdout: status=0 should not get herestderr: |
osh | 27 set -e enabled in function (regression) [osh stdout] Expected 'should be executed\nshould be executed\n', got '' [osh status] Expected 0, got 1 stdout: stderr: false ^~~~~ [ stdin ]:4: fatal: Exiting with status 1 (command in PID 6072) |
osh_.py | 27 set -e enabled in function (regression) [osh_.py stdout] Expected 'should be executed\nshould be executed\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: false ^~~~~ [ stdin ]:4: fatal: Exiting with status 1 (command in PID 6113) |
osh_.cc | 27 set -e enabled in function (regression) [osh_.cc stdout] Expected 'should be executed\nshould be executed\n', got '' [osh_.cc status] Expected 0, got 1 stdout: stderr: false ^~~~~ [ stdin ]:4: fatal: Exiting with status 1 (command in PID 6150) |