spec test index / oilshell.org
status | osh | |
pass | 5 | |
FAIL | 4 | |
total | 9 | |
case | osh | description |
0 | FAIL | runproc |
details | ||
1 | FAIL | runproc typed args |
details | ||
2 | pass | pp asdl |
3 | pass | pp asdl can handle an object cycle |
4 | pass | pp line supports BashArray, BashAssoc |
5 | FAIL | pp gc-stats |
details | ||
6 | pass | pp cell |
7 | pass | pp cell on indexed array with hole |
8 | FAIL | pp proc |
details |
5 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 | 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 | 5 pp gc-stats [osh 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: |