spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 4 | 0 | 0 | |
FAIL | 0 | 4 | 4 | |
total | 4 | 4 | 4 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | FAIL | FAIL | --debug-file |
details | details | |||
1 | pass | FAIL | FAIL | crash dump |
details | details | |||
2 | pass | FAIL | FAIL | crash dump with source |
details | details | |||
3 | pass | FAIL | FAIL | help osh and oil |
details | details |
4 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped
osh_.py | 0 --debug-file [osh_.py stdout] Expected 'yes\n', got '' [osh_.py status] Expected 0, got 2 stdout: stderr: $SH --debug-file $TMP/debug.txt -c 'true' ^~~~~~~~~~~~ [ stdin ]:1: '--debug-file' not found grep: /debug.txt: No such file or directory |
osh_.cc | 0 --debug-file [osh_.cc stdout] Expected 'yes\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: $SH --debug-file $TMP/debug.txt -c 'true' ^~~~~~~~~~~~ [ stdin ]:1: '--debug-file' not found osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 1 crash dump [osh_.py stdout] Expected 'status=1\nstatus=0\n', got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: OSH_CRASH_DUMP_DIR=$TMP $SH -c ' ^~ [ stdin ]:2: '-c' not found python2 -m json.tool $TMP/*.json > /dev/null ^~~~~~~ [ stdin ]:16: 'python2' not found |
osh_.cc | 1 crash dump [osh_.cc stdout] Expected 'status=1\nstatus=0\n', got 'status=127\n' [osh_.cc status] Expected 0, got -6 stdout: status=127stderr: OSH_CRASH_DUMP_DIR=$TMP $SH -c ' ^~ [ stdin ]:2: '-c' not found osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 2 crash dump with source [osh_.py stdout] Expected 'status=1\nOK\n', got 'status=127\n' stdout: status=127stderr: OSH_CRASH_DUMP_DIR=$TMP $SH -c ' ^~ [ stdin ]:1: '-c' not found + set -o errexit + (lvalue.Named name:ok spids:[32]) = (value.Str s:0) + test -s '/*.json' + test 0 -ge 1 |
osh_.cc | 2 crash dump with source [osh_.cc stdout] Expected 'status=1\nOK\n', got 'status=127\n' stdout: status=127stderr: OSH_CRASH_DUMP_DIR=$TMP $SH -c ' ^~ [ stdin ]:1: '-c' not found + set -o errexit |
osh_.py | 3 help osh and oil [osh_.py stdout] Expected 'osh 0\noil 0\nindex ZZZ 1\n', got 'osh 1\noil 1\nindex ZZZ 1\n' stdout: osh 1 oil 1 index ZZZ 1stderr: help osh > $TMP/osh.txt ^ [ stdin ]:1: Can't open '/osh.txt': Permission denied help oil > $TMP/oil.txt ^ [ stdin ]:3: Can't open '/oil.txt': Permission denied help index ZZZ > $TMP/index.txt ^ [ stdin ]:5: Can't open '/index.txt': Permission denied |
osh_.cc | 3 help osh and oil [osh_.cc stdout] Expected 'osh 0\noil 0\nindex ZZZ 1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |