spec test index / oilshell.org
status | osh | |
FAIL | 14 | |
total | 14 | |
case | osh | description |
0 | FAIL | Type objects Bool, Int, Float, etc. |
details | ||
1 | FAIL | Parameterized types - List[Int], Dict[Str, Int] |
details | ||
2 | FAIL | Errors for parameterized types |
details | ||
3 | FAIL | runproc |
details | ||
4 | FAIL | runproc typed args |
details | ||
5 | FAIL | pp asdl_ |
details | ||
6 | FAIL | pp asdl_ can handle an object cycle |
details | ||
7 | FAIL | pp gc-stats_ |
details | ||
8 | FAIL | pp cell_ |
details | ||
9 | FAIL | pp cell_ on indexed array with hole |
details | ||
10 | FAIL | pp proc |
details | ||
11 | FAIL | pp (x) and pp [x] quote code |
details | ||
12 | FAIL | pp test_ supports BashArray, BashAssoc |
details | ||
13 | FAIL | 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
osh | 0 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_ |
osh | 1 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_ |
osh | 2 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_ |
osh | 3 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_ |
osh | 4 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_ |
osh | 5 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_ |
osh | 6 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_ |
osh | 7 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_ |
osh | 8 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_ |
osh | 9 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_ |
osh | 10 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_ |
osh | 11 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_ |
osh | 12 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_ |
osh | 13 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_ |