spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 9 | 0 | 0 | |
FAIL | 0 | 9 | 9 | |
total | 9 | 9 | 9 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | FAIL | FAIL | 'exit' in oshrc (regression) |
details | details | |||
1 | pass | FAIL | FAIL | fatal errors continue |
details | details | |||
2 | pass | FAIL | FAIL | interactive shell loads rcfile (when combined with -c) |
details | details | |||
3 | pass | FAIL | FAIL | interactive shell runs PROMPT_COMMAND after each command |
details | details | |||
4 | pass | FAIL | FAIL | parse error in PROMPT_COMMAND |
details | details | |||
5 | pass | FAIL | FAIL | runtime error in PROMPT_COMMAND |
details | details | |||
6 | pass | FAIL | FAIL | Error message with bad oshrc file (currently ignored) |
details | details | |||
7 | pass | FAIL | FAIL | PROMPT_COMMAND can see $?, like bash |
details | details | |||
8 | pass | FAIL | FAIL | PROMPT_COMMAND that writes to BASH_REMATCH |
details | details |
9 passed, 0 OK, 0 not implemented, 0 BUG, 18 failed, 0 timeouts, 0 cases skipped
osh_.py | 0 'exit' in oshrc (regression) [osh_.py stdout] Expected 'one\n', got '' [osh_.py status] Expected 42, got 1 stdout: stderr: osh fatal error: |
osh_.cc | 0 'exit' in oshrc (regression) [osh_.cc stdout] Expected 'one\n', got '' [osh_.cc status] Expected 42, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 1 fatal errors continue [osh_.py stdout] Expected 'one\n', got '' [osh_.py status] Expected 42, got 1 stdout: stderr: osh fatal error: |
osh_.cc | 1 fatal errors continue [osh_.cc stdout] Expected 'one\n', got '' [osh_.cc status] Expected 42, got -6 stdout: stderr: osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed. |
osh_.py | 2 interactive shell loads rcfile (when combined with -c) [osh_.py stdout] Expected '1\nRCFILE\n2\n', got '1\n' [osh_.py status] Expected 0, got 1 stdout: 1stderr: osh fatal error: |
osh_.cc | 2 interactive shell loads rcfile (when combined with -c) [osh_.cc stdout] Expected '1\nRCFILE\n2\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed. |
osh_.py | 3 interactive shell runs PROMPT_COMMAND after each command [osh_.py stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: |
osh_.cc | 3 interactive shell runs PROMPT_COMMAND after each command [osh_.cc stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: dumb_alloc: gNumNew = 1927 gNumDelete = 169 gMemPos = 67136 gNumMalloc = 72 gNumFree = 0 gMemPos2 = 10480 |
osh_.py | 4 parse error in PROMPT_COMMAND [osh_.py stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
osh_.cc | 4 parse error in PROMPT_COMMAND [osh_.cc stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: dumb_alloc: gNumNew = 1927 gNumDelete = 169 gMemPos = 67136 gNumMalloc = 72 gNumFree = 0 gMemPos2 = 10480 |
osh_.py | 5 runtime error in PROMPT_COMMAND [osh_.py stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
osh_.cc | 5 runtime error in PROMPT_COMMAND [osh_.cc stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: dumb_alloc: gNumNew = 1936 gNumDelete = 173 gMemPos = 67312 gNumMalloc = 72 gNumFree = 0 gMemPos2 = 10480 |
osh_.py | 6 Error message with bad oshrc file (currently ignored) [osh_.py stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got 'status=1\n' [osh_.py status] Expected 0, got 1 stdout: status=1stderr: |
osh_.cc | 6 Error message with bad oshrc file (currently ignored) [osh_.cc stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 7 PROMPT_COMMAND can see $?, like bash [osh_.py stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n', got '' stdout: stderr: |
osh_.cc | 7 PROMPT_COMMAND can see $?, like bash [osh_.cc stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n', got '' stdout: stderr: dumb_alloc: gNumNew = 2020 gNumDelete = 184 gMemPos = 69456 gNumMalloc = 85 gNumFree = 0 gMemPos2 = 10752 |
osh_.py | 8 PROMPT_COMMAND that writes to BASH_REMATCH [osh_.py stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: |
osh_.cc | 8 PROMPT_COMMAND that writes to BASH_REMATCH [osh_.cc stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: dumb_alloc: gNumNew = 1937 gNumDelete = 173 gMemPos = 67344 gNumMalloc = 72 gNumFree = 0 gMemPos2 = 10528 |