spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 4 | 3 | |
FAIL | 0 | 1 | |
total | 4 | 4 | |
case | osh | osh_ALT | description |
0 | pass | pass | --debug-file |
1 | pass | FAIL | crash dump |
details | |||
2 | pass | pass | crash dump with source |
3 | pass | pass | help index |
7 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh_ALT | 1 crash dump [osh_ALT stdout] Expected 'status=1\nstatus=0\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: echo $(( 1 / 0 )) ^ [ -c flag ]:4: fatal: Divide by zero Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 937, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 908, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 881, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 697, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 172, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1879, 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 '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.8.pre2/_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 |