Results for ysh-builtin-meta.test.sh

statusoshosh_ALT
pass 1211
FAIL 23
total1414
caseoshosh_ALTdescription
0FAIL FAIL Type objects Bool, Int, Float, etc.
detailsdetails
1pass pass Parameterized types - List[Int], Dict[Str, Int]
2pass pass Errors for parameterized types
3pass pass runproc
4pass pass runproc typed args
5pass pass pp asdl_
6pass pass pp asdl_ can handle an object cycle
7FAIL FAIL pp gc-stats_
detailsdetails
8pass pass pp cell_
9pass pass pp cell_ on indexed array with hole
10pass pass pp proc
11pass pass pp (x) and pp [x] quote code
12pass pass pp test_ supports BashArray, BashAssoc
13pass FAIL pp value (x) is like = keyword
details
23 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

osh0 Type objects Bool, Int, Float, etc.

[osh stdout] Expected '(Obj) ("name":"Bool") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Int") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Float") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Str") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"List") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Dict") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Obj") --> ("__index__":<BuiltinFunc>)\n\n(Bool) true\n(Bool) true\n' Got '(Obj) ("name":"Bool") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Int") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Float") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Str") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"List") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Dict") --> ("__index__":<BuiltinFunc>)\n(Obj) ("create":<BuiltinFunc>,"name":"Obj") --> ("__index__":<BuiltinFunc>)\n\n(Bool) true\n(Bool) true\n'

stdout:
(Obj)   ("name":"Bool") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"Int") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"Float") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"Str") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"List") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"Dict") --> ("__index__":<BuiltinFunc>)
(Obj)   ("create":<BuiltinFunc>,"name":"Obj") --> ("__index__":<BuiltinFunc>)

(Bool)   true
(Bool)   true
stderr:
osh_ALT0 Type objects Bool, Int, Float, etc.

[osh_ALT stdout] Expected '(Obj) ("name":"Bool") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Int") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Float") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Str") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"List") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Dict") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Obj") --> ("__index__":<BuiltinFunc>)\n\n(Bool) true\n(Bool) true\n' Got '(Obj) ("name":"Bool") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Int") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Float") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Str") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"List") --> ("__index__":<BuiltinFunc>)\n(Obj) ("name":"Dict") --> ("__index__":<BuiltinFunc>)\n(Obj) ("create":<BuiltinFunc>,"name":"Obj") --> ("__index__":<BuiltinFunc>)\n\n(Bool) true\n(Bool) true\n'

stdout:
(Obj)   ("name":"Bool") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"Int") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"Float") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"Str") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"List") --> ("__index__":<BuiltinFunc>)
(Obj)   ("name":"Dict") --> ("__index__":<BuiltinFunc>)
(Obj)   ("create":<BuiltinFunc>,"name":"Obj") --> ("__index__":<BuiltinFunc>)

(Bool)   true
(Bool)   true
stderr:
osh7 pp gc-stats_

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

stdout:
TODO
stderr:
osh_ALT7 pp gc-stats_

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

stdout:
TODO
stderr:
osh_ALT13 pp value (x) is like = keyword

[osh_ALT 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 ''
[osh_ALT status] Expected 0, got 1

stdout:
stderr: 
  source $LIB_YSH/list.ysh
         ^~~~~~~~
[ stdin ]:2: 'source' failed: No builtin file 'stdlib/ysh/list.ysh'
  source $LIB_YSH/list.ysh
  ^~~~~~
[ stdin ]:2: errexit PID 39524: command.Simple failed with status 1