spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 4 | 0 | |
FAIL | 0 | 4 | |
total | 4 | 4 | |
case | osh | osh-cpp | description |
0 | pass | FAIL | --debug-file |
details | |||
1 | pass | FAIL | crash dump |
details | |||
2 | pass | FAIL | crash dump with source |
details | |||
3 | pass | FAIL | help osh and oil |
details |
4 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
osh-cpp | 0 --debug-file [osh-cpp stdout] Expected 'yes\n', got '' [osh-cpp status] Expected 0, got 1 stdout: stderr: Writing logs to '/home/andy/git/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/00-osh-cpp/debug.txt' |
osh-cpp | 1 crash dump [osh-cpp stdout] Expected 'status=1\nstatus=0\n', got 'status=1\nstatus=1\n' [osh-cpp stderr] Found 'Traceback (most recent' stdout: status=1 status=1stderr: echo $(( 1 / 0 )) ^ [ -c flag ]:4: fatal: Divide by zero Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib/python2.7/json/tool.py", line 40, in <module> main() File "/usr/lib/python2.7/json/tool.py", line 21, in main infile = open(sys.argv[1], 'rb') IOError: [Errno 2] No such file or directory: '/home/andy/git/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/01-osh-cpp/*.json' |
osh-cpp | 2 crash dump with source [osh-cpp stdout] Expected 'crash status=1\nfound crash dump\n', got 'crash status=1\n' stdout: crash status=1stderr: echo $(( 42 / 0 )) ^ '/home/andy/git/oilshell/oil/test/../spec/testdata/crash.sh':3: fatal: Divide by zero + set -o errexit + ok=0 + test -s '/home/andy/git/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/02-osh-cpp/*.json' + test 0 -ge 1 |
osh-cpp | 3 help osh and oil [osh-cpp stdout] Expected 'osh 0\noil 0\nindex ZZZ 1\n', got 'osh 0\noil 0\nindex ZZZ 0\n' stdout: osh 0 oil 0 index ZZZ 0stderr: |