spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 5 | 5 | |
FAIL | 4 | 4 | |
total | 9 | 9 | |
case | osh | osh_ALT | description |
0 | FAIL | FAIL | runproc |
details | details | ||
1 | FAIL | FAIL | runproc typed args |
details | details | ||
2 | pass | pass | pp asdl |
3 | pass | pass | pp asdl can handle an object cycle |
4 | pass | pass | pp line supports BashArray, BashAssoc |
5 | FAIL | FAIL | pp gc-stats |
details | details | ||
6 | pass | pass | pp cell |
7 | pass | pass | pp cell on indexed array with hole |
8 | FAIL | FAIL | pp proc |
details | details |
10 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
osh | 0 runproc [osh stdout] Expected 'f\n1\n2\nstatus=0\np\n3\n4\nstatus=0\nstatus=1\nstatus=2\n' Got 'f\n1\n2\nstatus=0\nstatus=1\nstatus=1\nstatus=2\n' stdout: f 1 2 status=0 status=1 status=1 status=2stderr: [ stdin ]:12: runproc: no proc named 'p' [ stdin ]:15: runproc: no proc named 'invalid' runproc ^~~~~~~ [ stdin ]:18: 'runproc' requires arguments |
osh_ALT | 0 runproc [osh_ALT stdout] Expected 'f\n1\n2\nstatus=0\np\n3\n4\nstatus=0\nstatus=1\nstatus=2\n' Got 'f\n1\n2\nstatus=0\nstatus=1\nstatus=1\nstatus=2\n' stdout: f 1 2 status=0 status=1 status=1 status=2stderr: [ stdin ]:12: runproc: no proc named 'p' [ stdin ]:15: runproc: no proc named 'invalid' runproc ^~~~~~~ [ stdin ]:18: 'runproc' requires arguments |
osh | 1 runproc typed args [osh stdout] Expected 'hi from p\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nBlock\n' Got '\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\n\n' [osh status] Expected 0, got 1 stdout: ty (Str) "a" (Int) 42 (Int) 99 Commandstderr: [ stdin ]:7: runproc: no proc named 'p' [ stdin ]:23: runproc: no proc named 'ty' [ stdin ]:26: runproc: no proc named 'ty' |
osh_ALT | 1 runproc typed args [osh_ALT stdout] Expected 'hi from p\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nBlock\n' Got '\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\n\n' [osh_ALT status] Expected 0, got 1 stdout: ty (Str) "a" (Int) 42 (Int) 99 Commandstderr: [ stdin ]:7: runproc: no proc named 'p' [ stdin ]:23: runproc: no proc named 'ty' [ stdin ]:26: runproc: no proc named 'ty' |
osh | 5 pp gc-stats [osh stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh_ALT | 5 pp gc-stats [osh_ALT stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh | 8 pp proc [osh stdout] Expected 'proc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\ng\t""\nmyproc\t"YSH-style proc"\n"true"\t"Special quoting rule"\n---\nproc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\n' Got 'proc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\ng\t""\n---\nproc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\n' stdout: proc_name doc_comment f "doc ' comment with \" quotes" g "" --- proc_name doc_comment f "doc ' comment with \" quotes"stderr: |
osh_ALT | 8 pp proc [osh_ALT stdout] Expected 'proc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\ng\t""\nmyproc\t"YSH-style proc"\n"true"\t"Special quoting rule"\n---\nproc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\n' Got 'proc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\ng\t""\n---\nproc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\n' stdout: proc_name doc_comment f "doc ' comment with \" quotes" g "" --- proc_name doc_comment f "doc ' comment with \" quotes"stderr: |