Results for ysh-builtin-meta.test.sh

statusoshosh-cpp
pass 88
FAIL 22
total1010
caseoshosh-cppdescription
0pass pass runproc
1pass pass runproc typed args
2pass pass pp asdl
3pass pass pp asdl can handle an object cycle
4pass pass pp line supports BashArray, BashAssoc
5FAIL FAIL pp gc-stats
detailsdetails
6pass pass pp cell
7pass pass pp cell on indexed array with hole
8pass pass pp proc
9FAIL FAIL pp (x) is like = keyword
detailsdetails
16 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:
osh-cpp5 pp gc-stats

[osh-cpp 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:
osh-cpp9 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: