spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 19 | 16 | 14 | |
FAIL | 0 | 3 | 5 | |
total | 19 | 19 | 19 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | FAIL | help |
details | ||||
1 | pass | FAIL | FAIL | bad help topic |
details | details | |||
2 | pass | pass | pass | type -t -> function |
3 | pass | pass | pass | type -t -> alias |
4 | pass | pass | pass | type -t -> builtin |
5 | pass | pass | pass | type -t -> keyword |
6 | pass | pass | pass | type -t control flow |
7 | pass | FAIL | FAIL | type -t -> file |
details | details | |||
8 | pass | pass | FAIL | type -t doesn't find non-executable (like command -v) |
details | ||||
9 | pass | FAIL | FAIL | type -t -> not found |
details | details | |||
10 | pass | pass | pass | type -p builtin -> file |
11 | pass | pass | pass | type -p builtin -> not found |
12 | pass | pass | pass | type -p builtin -> not a file |
13 | pass | pass | pass | type -P builtin -> file |
14 | pass | pass | pass | type -P builtin -> not found |
15 | pass | pass | pass | type -P builtin -> not a file |
16 | pass | pass | pass | type -P builtin -> not a file but file found |
17 | pass | pass | pass | type -f builtin -> not found |
18 | pass | pass | pass | type -f builtin -> function and file exists |
49 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped
osh_.cc | 0 help [osh_.cc stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got "osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed.\n" [osh_.cc status] Expected 0, got -6 stdout: TODOstderr: osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 1 bad help topic [osh_.py stdout] Expected 'help=1\ngrep=0\n', got 'help=1\ngrep=1\n' stdout: help=1 grep=1stderr: help ZZZ 2>$TMP/err.txt ^~ [ stdin ]:1: Can't open '/err.txt': Permission denied cat: /err.txt: No such file or directory |
osh_.cc | 1 bad help topic [osh_.cc stdout] Expected 'help=1\ngrep=0\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. |
osh_.py | 7 type -t -> file [osh_.py stdout] Expected 'file\nfile\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: type: 'find' not found type: 'xargs' not found |
osh_.cc | 7 type -t -> file [osh_.cc stdout] Expected 'file\nfile\n', got '' [osh_.cc status] Expected 0, got 1 stdout: stderr: type: 'find' not found type: 'xargs' not found |
osh_.cc | 8 type -t doesn't find non-executable (like command -v) [osh_.cc stdout] Expected u'', got 'file\n' [osh_.cc status] Expected 1, got 0 stdout: filestderr: touch: cannot touch '/non-executable': Permission denied |
osh_.py | 9 type -t -> not found [osh_.py stdout] Expected 'builtin\nfile\nstatus=1\n', got 'builtin\nstatus=1\n' stdout: builtin status=1stderr: type: 'ZZZ' not found type: 'find' not found type: '=' not found |
osh_.cc | 9 type -t -> not found [osh_.cc stdout] Expected 'builtin\nfile\nstatus=1\n', got 'builtin\nstatus=1\n' stdout: builtin status=1stderr: type: 'ZZZ' not found type: 'find' not found type: '=' not found |