spec test index / oilshell.org
| status | osh | |
| pass | 8 | |
| FAIL | 2 | |
| total | 10 | |
| case | osh | description |
| 0 | pass | runproc |
| 1 | pass | runproc typed args |
| 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 | pass | pp proc |
| 9 | FAIL | pp (x) is like = keyword |
| details |
8 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 | 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: |