spec test index / oilshell.org
case | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | --debug-file |
1 | pass | pass | pass | debug-completion option |
2 | pass | pass | pass | debug-completion from command line |
3 | pass | pass | pass | repr |
4 | pass | FAIL | FAIL | crash dump |
details | details | |||
5 | pass | FAIL | FAIL | crash dump with source |
details | details |
14 passed, 0 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped
osh_ALT | 4 crash dump [osh_ALT stdout] Expected 'status=1\nstatus=0\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: Line 4 of '<command string>' echo $(( 1 / 0 )) ^ Divide by zero Traceback (most recent call last): File "/home/andy/git/oilshell/oil/Python-2.7.13/Lib/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/home/andy/git/oilshell/oil/Python-2.7.13/Lib/runpy.py", line 72, in _run_code exec code in run_globals File "/home/andy/git/oilshell/oil/bin/oil.py", line 527, in <module> main(sys.argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 505, in main sys.exit(AppBundleMain(argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 479, in AppBundleMain status = OshMain(argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 283, in OshMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 113, in Batch return ex.LastStatus() File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 1212, in ExecuteAndCatch self.dumper.MaybeDump(status) File "/home/andy/git/oilshell/oil/core/dev.py", line 142, in MaybeDump import json ImportError: No module named json FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.6.pre7/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 No JSON object could be decoded |
osh-byterun | 4 crash dump [osh-byterun stdout] Expected 'status=1\nstatus=0\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: Line 4 of '<command string>' echo $(( 1 / 0 )) ^ Divide by zero Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 88, in <module> main(sys.argv) File "/home/andy/git/oilshell/oil/bin/opy_.py", line 72, in main sys.exit(AppBundleMain(argv)) File "/home/andy/git/oilshell/oil/bin/opy_.py", line 64, in AppBundleMain return opy_main.OpyCommandMain(main_argv) File "/home/andy/git/oilshell/oil/opy/opy_main.py", line 486, in OpyCommandMain num_ticks = ovm.run_code_object(co, opy_argv) File "/home/andy/git/oilshell/oil/opy/byterun/execfile.py", line 36, in run_code_object pyvm2.run_code(vm, code, f_globals=main_mod.__dict__) File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 88, in run_code val = vm.run_frame(frame) File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 327, in run_frame raise exctype, value, tb KeyError: '_indent' No JSON object could be decoded |
osh_ALT | 5 crash dump with source [osh_ALT stdout] Expected 'status=1\nstatus=0\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: Line 3 of 'spec/testdata/crash.sh' echo $(( 42 / 0 )) ^ Divide by zero Traceback (most recent call last): File "/home/andy/git/oilshell/oil/Python-2.7.13/Lib/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/home/andy/git/oilshell/oil/Python-2.7.13/Lib/runpy.py", line 72, in _run_code exec code in run_globals File "/home/andy/git/oilshell/oil/bin/oil.py", line 527, in <module> main(sys.argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 505, in main sys.exit(AppBundleMain(argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 479, in AppBundleMain status = OshMain(argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 283, in OshMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 113, in Batch return ex.LastStatus() File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 1195, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 1143, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 1088, in _Dispatch libc.print_time(real, user, sys_) File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 567, in _RunSimpleCommand status = self._RunBuiltin(builtin_id, argv, span_id) File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 369, in _RunBuiltin status = builtin.Repr(argv, self.mem) File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 230, in _Source status = self._EvalHelper(c_parser, path) File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 162, in _EvalHelper return main_loop.Batch(self, c_parser, self.arena) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 113, in Batch return ex.LastStatus() File "/home/andy/git/oilshell/oil/core/cmd_exec.py", line 1212, in ExecuteAndCatch self.dumper.MaybeDump(status) File "/home/andy/git/oilshell/oil/core/dev.py", line 142, in MaybeDump import json ImportError: No module named json FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.6.pre7/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 No JSON object could be decoded |
osh-byterun | 5 crash dump with source [osh-byterun stdout] Expected 'status=1\nstatus=0\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: Line 3 of 'spec/testdata/crash.sh' echo $(( 42 / 0 )) ^ Divide by zero Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 88, in <module> main(sys.argv) File "/home/andy/git/oilshell/oil/bin/opy_.py", line 72, in main sys.exit(AppBundleMain(argv)) File "/home/andy/git/oilshell/oil/bin/opy_.py", line 64, in AppBundleMain return opy_main.OpyCommandMain(main_argv) File "/home/andy/git/oilshell/oil/opy/opy_main.py", line 486, in OpyCommandMain num_ticks = ovm.run_code_object(co, opy_argv) File "/home/andy/git/oilshell/oil/opy/byterun/execfile.py", line 36, in run_code_object pyvm2.run_code(vm, code, f_globals=main_mod.__dict__) File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 88, in run_code val = vm.run_frame(frame) File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 327, in run_frame raise exctype, value, tb KeyError: '_indent' No JSON object could be decoded |