spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 14 | 0 | |
FAIL | 0 | 14 | |
total | 14 | 14 | |
case | osh | osh_ALT | description |
0 | pass | FAIL | Can read from ENV Obj |
details | |||
1 | pass | FAIL | ENV works in different modules |
details | |||
2 | pass | FAIL | bin/ysh doesn't have exported vars (declare -x) |
details | |||
3 | pass | FAIL | Temp bindings A=a B=b my-command push to ENV Obj (ysh:all) |
details | |||
4 | pass | FAIL | Nested temp bindings |
details | |||
5 | pass | FAIL | Temp bindings can use locals in the same frame,(don't introduce new frame) |
details | |||
6 | pass | FAIL | setglobal ENV.PYTHONPATH = 'foo' changes child process state |
details | |||
7 | pass | FAIL | export builtin is disabled in ysh:all, in favor of setglobal |
details | |||
8 | pass | FAIL | ysh:upgrade can use both export builtin and setglobal ENV |
details | |||
9 | pass | FAIL | PS4 environment variable is respected |
details | |||
10 | pass | FAIL | ENV.HOME is respected |
details | |||
11 | pass | FAIL | exec builtin respects ENV |
details | |||
12 | pass | FAIL | setglobal quirk - do we need setenv? |
details | |||
13 | pass | FAIL | try to corrupt ENV var from user code |
details |
14 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh_ALT | 0 Can read from ENV Obj [osh_ALT stdout] Expected '(Str) "Obj"\nok\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 1 ENV works in different modules [osh_ALT stdout] Expected 'env.ysh\nOSH ok\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 2 bin/ysh doesn't have exported vars (declare -x) [osh_ALT stdout] Expected 'OSH ok\nsh=null\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 3 Temp bindings A=a B=b my-command push to ENV Obj (ysh:all) [osh_ALT stdout] Expected '_A=a\n_B=b\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 4 Nested temp bindings [osh_ALT stdout] Expected '> f1 AA=a\n f2 AA=aaaa BB=bb\nAA=aaaa\nBB=bb\n< f1 AA=a\n\n> p1 AA=a\n p2 AA=aaaa BB=bb\nAA=aaaa\nBB=bb\n< p1 AA=a\n\n> p1 AA=a\n p2 AA=aaaa BB=bb\nAA=aaaa\nBB=bb\n< p1 AA=a\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 5 Temp bindings can use locals in the same frame,(don't introduce new frame) [osh_ALT stdout] Expected 'shfunc x=zzz FOO=\nshfunc x=zzz FOO=zzz\n\nysh x=zzz FOO= ENV.FOO=null\nysh x=zzz FOO= ENV.FOO=zzz\nysh x=zzz FOO= ENV.FOO=zzz\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 6 setglobal ENV.PYTHONPATH = 'foo' changes child process state [osh_ALT stdout] Expected 'pythonpath=foo\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 7 export builtin is disabled in ysh:all, in favor of setglobal [osh_ALT stdout] Expected 'ZZ=setglobal\n', got '' [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 8 ysh:upgrade can use both export builtin and setglobal ENV [osh_ALT stdout] Expected 'ZZ=export\nZZ=setglobal\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 9 PS4 environment variable is respected [osh_ALT stdout] Expected '1\n2\n', got '' [osh_ALT stderr] Expected '%%% echo 1\n%%% echo 2\n', got 'Could not import bin.oil\nTraceback (most recent call last):\n File "/home/uke/oil/bin/oil.py", line 22, in <module>\n from _devbuild.gen import id_kind\n File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>\n from _devbuild.gen.id_kind_asdl import Id, Kind\n File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>\n from asdl import pybase\n File "/home/uke/oil/asdl/pybase.py", line 5, in <module>\n from mycpp import mylib\n File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>\n from pylib import collections_\n File "/home/uke/oil/pylib/collections_.py", line 9, in <module>\n from typing import Any\n File "/home/uke/oil/vendor/typing.py", line 5, in <module>\n import collections\n File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module>\n from dummy_thread import get_ident as _get_ident\nImportError: No module named dummy_thread\nFATAL: couldn\'t import from app bundle \'/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh\' (1)\nStripping the oil.ovm binary may cause this error.\nSee https://github.com/oilshell/oil/issues/47\n' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 10 ENV.HOME is respected [osh_ALT stdout] Expected 'zz-osh/src\nysh-zz/src\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 11 exec builtin respects ENV [osh_ALT stdout] Expected 'child ZZ=zz\nexec ZZ=zz\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 12 setglobal quirk - do we need setenv? [osh_ALT stdout] Expected '(Null) null\n(Str) "perm"\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 13 try to corrupt ENV var from user code [osh_ALT stdout] Expected "(Str) 'aa'\n", got '' [osh_ALT status] Expected 0, got 1 [osh_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 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |