spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 8 | 8 | |
FAIL | 2 | 2 | |
total | 10 | 10 | |
case | osh | osh-cpp | description |
0 | pass | pass | runproc |
1 | pass | pass | runproc typed args |
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 | pass | pass | pp proc |
9 | FAIL | FAIL | pp (x) is like = keyword |
details | details |
16 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh | 5 pp gc-stats [osh stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh-cpp | 5 pp gc-stats [osh-cpp stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh | 9 pp (x) is like = keyword [osh stdout] Expected '(Str) \'foo\'\n(Str) b\'isn\\\'t this sq\'\n(Str) \'"dq $myvar"\'\n(Str) b\'\\\\ backslash \\\\\\\\\'\n(Str) b\'one \\t two \\n\'\n(List)\n[\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123\n]\n' Got ' pp (\'foo\') | cat\n ^\n[ stdin ]:5: (Str) \'foo\'\n pp ("isn\'t this sq") | cat\n ^\n[ stdin ]:7: (Str) b\'isn\\\'t this sq\'\n pp (\'"dq $myvar"\') | cat\n ^\n[ stdin ]:9: (Str) \'"dq $myvar"\'\n pp (r\'\\ backslash \\\\\') | cat\n ^\n[ stdin ]:11: (Str) b\'\\\\ backslash \\\\\\\\\'\n pp (u\'one \\t two \\n\') | cat\n ^\n[ stdin ]:13: (Str) b\'one \\t two \\n\'\n pp (repeat([123], 40)) | cat\n ^\n[ stdin ]:15: (List)\n [\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123\n ]\n' stdout: pp ('foo') | cat ^ [ stdin ]:5: (Str) 'foo' pp ("isn't this sq") | cat ^ [ stdin ]:7: (Str) b'isn\'t this sq' pp ('"dq $myvar"') | cat ^ [ stdin ]:9: (Str) '"dq $myvar"' pp (r'\ backslash \\') | cat ^ [ stdin ]:11: (Str) b'\\ backslash \\\\' pp (u'one \t two \n') | cat ^ [ stdin ]:13: (Str) b'one \t two \n' pp (repeat([123], 40)) | cat ^ [ stdin ]:15: (List) [ 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123 ]stderr: |
osh-cpp | 9 pp (x) is like = keyword [osh-cpp stdout] Expected '(Str) \'foo\'\n(Str) b\'isn\\\'t this sq\'\n(Str) \'"dq $myvar"\'\n(Str) b\'\\\\ backslash \\\\\\\\\'\n(Str) b\'one \\t two \\n\'\n(List)\n[\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123\n]\n' Got ' pp (\'foo\') | cat\n ^\n[ stdin ]:5: (Str) \'foo\'\n pp ("isn\'t this sq") | cat\n ^\n[ stdin ]:7: (Str) b\'isn\\\'t this sq\'\n pp (\'"dq $myvar"\') | cat\n ^\n[ stdin ]:9: (Str) \'"dq $myvar"\'\n pp (r\'\\ backslash \\\\\') | cat\n ^\n[ stdin ]:11: (Str) b\'\\\\ backslash \\\\\\\\\'\n pp (u\'one \\t two \\n\') | cat\n ^\n[ stdin ]:13: (Str) b\'one \\t two \\n\'\n pp (repeat([123], 40)) | cat\n ^\n[ stdin ]:15: (List)\n [\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,\n 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123\n ]\n' stdout: pp ('foo') | cat ^ [ stdin ]:5: (Str) 'foo' pp ("isn't this sq") | cat ^ [ stdin ]:7: (Str) b'isn\'t this sq' pp ('"dq $myvar"') | cat ^ [ stdin ]:9: (Str) '"dq $myvar"' pp (r'\ backslash \\') | cat ^ [ stdin ]:11: (Str) b'\\ backslash \\\\' pp (u'one \t two \n') | cat ^ [ stdin ]:13: (Str) b'one \t two \n' pp (repeat([123], 40)) | cat ^ [ stdin ]:15: (List) [ 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123 ]stderr: |