spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 3 | 0 | |
FAIL | 0 | 3 | |
total | 3 | 3 | |
case | osh | osh-cpp | description |
0 | pass | FAIL | pp cell |
details | |||
1 | pass | FAIL | pp cell on indexed array with hole |
details | |||
2 | pass | FAIL | pp proc |
details |
3 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
osh-cpp | 0 pp cell [osh-cpp stdout] Expected 'x = (Cell exported:F readonly:F nameref:F val:(value.Str s:42))\nstatus=0\nx = (Cell exported:F readonly:F nameref:F val:(value.Str s:42))\nstatus=0\nstatus=1\n' Got 'x = \nstatus=0\nx = \nstatus=0\nstatus=1\n' stdout: x = status=0 x = status=0 status=1stderr: pp cell nonexistent ^~~~~~~~~~~ [ stdin ]:9: Couldn't find a variable named 'nonexistent' |
osh-cpp | 1 pp cell on indexed array with hole [osh-cpp stdout] Expected 'array = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[_ _ _ 42]))\n' Got 'array = \n' stdout: array =stderr: |
osh-cpp | 2 pp proc [osh-cpp stdout] Expected 'proc_name\tdoc_comment\nf\t\'doc \\\' comment with " quotes\'\ng\t\'\'\nmyproc\t\'Oil-style proc\'\n---\nproc_name\tdoc_comment\nf\t\'doc \\\' comment with " quotes\'\n' Got "proc_name\tdoc_comment\nf\t''\ng\t''\nmyproc\t''\n---\nproc_name\tdoc_comment\nf\t''\n" stdout: proc_name doc_comment f '' g '' myproc '' --- proc_name doc_comment f ''stderr: |