Results for ysh-builtin-meta.test.sh

statusosh
FAIL 14
total14
caseoshdescription
0FAIL Type objects Bool, Int, Float, etc.
details
1FAIL Parameterized types - List[Int], Dict[Str, Int]
details
2FAIL Errors for parameterized types
details
3FAIL runproc
details
4FAIL runproc typed args
details
5FAIL pp asdl_
details
6FAIL pp asdl_ can handle an object cycle
details
7FAIL pp gc-stats_
details
8FAIL pp cell_
details
9FAIL pp cell_ on indexed array with hole
details
10FAIL pp proc
details
11FAIL pp (x) and pp [x] quote code
details
12FAIL pp test_ supports BashArray, BashAssoc
details
13FAIL pp value (x) is like = keyword
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 14 failed, 0 timeouts, 0 cases skipped
14 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","new":<BuiltinFunc>) --> ("__index__":<BuiltinFunc>)\n\n(Bool) true\n(Bool) true\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh1 Parameterized types - List[Int], Dict[Str, Int]

[osh stdout] Expected '(Obj) ("unique_id":"List[Int]")\n(Obj) ("unique_id":"Dict[Str,Int]")\n(Obj) ("unique_id":"List[List[Int]]")\n(Obj) ("unique_id":"Dict[Str,List[Int]]")\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh2 Errors for parameterized types

[osh stdout] Expected '3\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh3 runproc

[osh stdout] Expected 'f\n1\n2\nstatus=0\np\n3\n4\nstatus=0\nstatus=1\nstatus=2\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh4 runproc typed args

[osh stdout] Expected 'hi from p\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh5 pp asdl_

[osh stdout] Expected '1:value.Str\n2:value.Str\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh6 pp asdl_ can handle an object cycle

[osh stdout] Expected '{"cycle":\ncycle ...\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh7 pp gc-stats_

[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh8 pp cell_

[osh stdout] Expected 'x = (Cell exported:F readonly:F nameref:F val:(value.Str s:42))\nstatus=0\nx = (Cell exported:F readonly:F nameref:F val:(value.Str s:42))\nstatus=0\nstatus=1\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh9 pp cell_ on indexed array with hole

[osh stdout] Expected 'array = (Cell exported:F readonly:F nameref:F val:(value.BashArray strs:[_ _ _ 42]))\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh10 pp proc

[osh stdout] Expected 'proc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\ng\t""\nmyproc\t"YSH-style proc"\n"true"\t"Special quoting rule"\n---\nproc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh11 pp (x) and pp [x] quote code

[osh stdout] Expected "\n pp (42)\n ^\n[ stdin ]:1: (Int) 42\n\n pp [42] | sed 's/0x[a-f0-9]\\+/[replaced]/'\n ^\n[ stdin ]:5: <Expr [replaced]>\n" Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh12 pp test_ supports BashArray, BashAssoc

[osh stdout] Expected '{"type":"BashArray","data":{"0":"a","1":"b","2":"c"}}\n{"type":"BashArray","data":{"0":"a","1":"b","2":"c","5":"z"}}\n{"type":"BashAssoc","data":{"k":"v","k2":"v2"}}\n{"type":"BashAssoc","data":{"k":"v","k2":"v2","k3":""}}\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh13 pp value (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 ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_