| status | ysh | |
| FAIL | 15 | |
| total | 15 | |
| case | ysh | description |
| 0 | FAIL | New Obj API |
| details | ||
| 1 | FAIL | Object() creates prototype chain |
| details | ||
| 2 | FAIL | prototype() |
| details | ||
| 3 | FAIL | propView() |
| details | ||
| 4 | FAIL | Mutating method lookup with -> |
| details | ||
| 5 | FAIL | Mutating method must be up the prototype chain, not on the object |
| details | ||
| 6 | FAIL | Copy to Dict with dict(), and mutate |
| details | ||
| 7 | FAIL | setvar obj.attr = and += and ... |
| details | ||
| 8 | FAIL | obj['attr'] not allowed (for now) |
| details | ||
| 9 | FAIL | setvar obj['attr'] = 3 ? |
| details | ||
| 10 | FAIL | can't encode objects as JSON |
| details | ||
| 11 | FAIL | Can all builtin methods with s.upper() |
| details | ||
| 12 | FAIL | invokable Obj must be have prototype containing __invoke__ of value.Proc - type -t |
| details | ||
| 13 | FAIL | Object with longer prototype chain |
| details | ||
| 14 | FAIL | __readonly__ in prototype makes objects readonly |
| details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 15 failed, 0 timeouts, 0 cases skipped 15 failed under osh
| ysh | 0 New Obj API [ysh stdout] Expected '(Obj) ("x":4)\n0\n(Dict) {"x":4}\n0\n(Null) null\n0\n(Obj) ("y":5)\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 1 Object() creates prototype chain [ysh stdout] Expected '(List) [3,4]\narea1 = 12\n(List) [10,20]\narea2 = 200\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 2 prototype() [ysh stdout] Expected '(Null) null\n(Obj) ("area":<Func>)\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 3 propView() [ysh stdout] Expected '(Dict) {"x":3,"y":4}\n(Dict) {"x":99,"y":4}\n' Got '' [ysh status] Expected 3 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 4 Mutating method lookup with -> [ysh stdout] Expected '5\n8\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 5 Mutating method must be up the prototype chain, not on the object [ysh status] Expected 3 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 6 Copy to Dict with dict(), and mutate [ysh stdout] Expected '(Obj) ("x":3,"y":4)\n(Dict) {"x":3,"y":4}\n(Obj) ("x":99,"y":4)\n(Dict) {"x":100,"y":4}\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 7 setvar obj.attr = and += and ... [ysh stdout] Expected '(Obj) ("x":3,"y":4)\n(Obj) ("x":3,"y":99)\n(Obj) ("x":3,"y":102)\n(Obj) ("x":15,"y":102)\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 8 obj['attr'] not allowed (for now) [ysh status] Expected 3 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 9 setvar obj['attr'] = 3 ? [ysh status] Expected 3 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 10 can't encode objects as JSON [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 11 Can all builtin methods with s.upper() [ysh stdout] Expected '(Str) "FOO"\n(Str) "--foo"\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 12 invokable Obj must be have prototype containing __invoke__ of value.Proc - type -t [ysh stdout] Expected '(List) ["a",{"x":5,"y":6}]\n\nproc\n\nno prototype\nno __invoke__ method in prototype\n__invoke__ of wrong type\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 13 Object with longer prototype chain [ysh stdout] Expected '(Obj) ("foo":1,"bar":2,"x":3) --> ("foo":42,"bar":[1,2]) --> ("foo":"zz")\n(Obj) (foo: 1, bar: 2, x: 3) --> (foo: 42, bar: [1, 2]) --> (foo: \'zz\')\n' Got '' [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|
| ysh | 14 __readonly__ in prototype makes objects readonly [ysh status] Expected 0 Got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from pylib import path_lib
ImportError: cannot import name path_lib
|