spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 5 | 0 | |
FAIL | 0 | 5 | |
total | 5 | 5 | |
case | ysh | ysh_ALT | description |
0 | pass | FAIL | captureStdout() is like $() |
details | |||
1 | pass | FAIL | captureStdout() failure |
details | |||
2 | pass | FAIL | io->eval() is like eval builtin |
details | |||
3 | pass | FAIL | io->eval() with failing command - caller must handle |
details | |||
4 | pass | FAIL | io->eval() with exit |
details |
5 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped
ysh_ALT | 0 captureStdout() is like $() [ysh_ALT stdout] Expected '(Str) "one\\ncaptured"\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module> tb = sys.exc_info()[2] AttributeError: 'module' object has no attribute 'exc_info' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 1 captureStdout() failure [ysh_ALT stdout] Expected '(Dict) {"status":1,"code":4,"message":"captureStdout(): command failed with status 1"}\n' Got '' [ysh_ALT status] Expected 4, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module> tb = sys.exc_info()[2] AttributeError: 'module' object has no attribute 'exc_info' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 2 io->eval() is like eval builtin [ysh_ALT stdout] Expected 'one\ntwo\nstatus=null\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module> tb = sys.exc_info()[2] AttributeError: 'module' object has no attribute 'exc_info' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 3 io->eval() with failing command - caller must handle [ysh_ALT stdout] Expected 'one\n(Dict) {"code":1}\none\n', got '' [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module> tb = sys.exc_info()[2] AttributeError: 'module' object has no attribute 'exc_info' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 4 io->eval() with exit [ysh_ALT stdout] Expected 'one\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module> tb = sys.exc_info()[2] AttributeError: 'module' object has no attribute 'exc_info' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |