Results for ysh-builtin-meta.test.sh

statusosh
pass 8
FAIL 2
total10
caseoshdescription
0pass runproc
1pass runproc typed args
2pass pp asdl
3pass pp asdl can handle an object cycle
4pass pp line supports BashArray, BashAssoc
5FAIL pp gc-stats
details
6pass pp cell
7pass pp cell on indexed array with hole
8pass pp proc
9FAIL 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

Details on runs that didn't PASS

osh5 pp gc-stats

[osh stdout] Expected '', got 'TODO\n'

stdout:
TODO
stderr:
osh9 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: