spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 6 | 0 | |
FAIL | 6 | 12 | |
total | 12 | 12 | |
case | osh | osh_ALT | description |
0 | pass | FAIL | compexport |
details | |||
1 | pass | FAIL | compexport with multi-line commands |
details | |||
2 | pass | FAIL | redirect completions are quoted |
details | |||
3 | pass | FAIL | dir completions have trailing slash |
details | |||
4 | pass | FAIL | complete -F strings are not quoted again |
details | |||
5 | FAIL | FAIL | complete -W quoting |
details | details | ||
6 | FAIL | FAIL | filenames are completed |
details | details | ||
7 | FAIL | FAIL | complete both -W and -F: words and functions |
details | details | ||
8 | FAIL | FAIL | -o default is an "else action", when zero are shown |
details | details | ||
9 | pass | FAIL | git completion space issue (disabled for old git, e.g. v2.17.1) |
details | |||
10 | FAIL | FAIL | Complete Filenames with bad characters |
details | details | ||
11 | FAIL | FAIL | Complete Command with bad characters |
details | details |
6 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 6 failed under osh
osh_ALT | 0 compexport [osh_ALT stdout] Expected '"haynode "\n"hay "\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 compexport with multi-line commands [osh_ALT stdout] Expected '"complete "\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 redirect completions are quoted [osh_ALT stdout] Expected '"echo hi > can\\\\\'t\\\\ touch\\\\ this"\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 dir completions have trailing slash [osh_ALT stdout] Expected '"cd can\\\\\'t\\\\ touch\\\\ this/"\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 complete -F strings are not quoted again [osh_ALT stdout] Expected '"pq-argv $\'can\\\\\'t\' "\n"pq-argv \'ch with space\' "\n"pq-argv checkout "\n"pq-argv cherry "\n\n"sq-argv \'ch with space\' "\n"sq-argv \'checkout\' "\n"sq-argv \'cherry\' "\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 | 5 complete -W quoting [osh stdout] Expected '"q2-argv can\\\\\'t "\n"q2-argv checkout "\n"q2-argv cherry "\n' Got '"q2-argv checkout "\n"q2-argv cherry "\n\n' stdout: "q2-argv checkout " "q2-argv cherry "stderr: osh warning: complete -C not implemented |
osh_ALT | 5 complete -W quoting [osh_ALT stdout] Expected '"q2-argv can\\\\\'t "\n"q2-argv checkout "\n"q2-argv cherry "\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 | 6 filenames are completed [osh stdout] Expected '\nTODO: Is the order reversed? I guess this is file system order, which is\nnondeterministic. YSH can sort them\n\necho baz \necho bar \n' Got '"echo baz "\n"echo bar "\n' stdout: "echo baz " "echo bar "stderr: |
osh_ALT | 6 filenames are completed [osh_ALT stdout] Expected '\nTODO: Is the order reversed? I guess this is file system order, which is\nnondeterministic. YSH can sort them\n\necho baz \necho bar \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 | 7 complete both -W and -F: words and functions [osh stdout] Expected 'Hm they are kinda reversed, I want to fix that. This is true even in Python\nthough, weird.\n' Got '"GIT bean "\n"GIT ale "\n"GIT dill "\n"GIT corn "\n' stdout: "GIT bean " "GIT ale " "GIT dill " "GIT corn "stderr: |
osh_ALT | 7 complete both -W and -F: words and functions [osh_ALT stdout] Expected 'Hm they are kinda reversed, I want to fix that. This is true even in Python\nthough, weird.\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 | 8 -o default is an "else action", when zero are shown [osh stdout] Expected 'TODO\ngit\n', got '-- nothing registered\n"GIT file2 "\n"GIT _tmp/"\n"GIT file1 "\n-- func\n"GIT bar "\n"GIT foo "\n-- func default\n"GIT bar "\n"GIT foo "\n-- empty func default\n"GIT file2 "\n"GIT _tmp/"\n"GIT file1 "\n' stdout: -- nothing registered "GIT file2 " "GIT _tmp/" "GIT file1 " -- func "GIT bar " "GIT foo " -- func default "GIT bar " "GIT foo " -- empty func default "GIT file2 " "GIT _tmp/" "GIT file1 "stderr: |
osh_ALT | 8 -o default is an "else action", when zero are shown [osh_ALT stdout] Expected 'TODO\ngit\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 git completion space issue (disabled for old git, e.g. v2.17.1) [osh_ALT stdout] Expected 'status=0\n"git cherry "\n"git cherry-pick "\n"git checkout "\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 | 10 Complete Filenames with bad characters [osh stdout] Expected 'TODO\n', got '"echo hello "\nb\'echo hi\\yffthere \'\n' stdout: "echo hello " b'echo hi\yffthere 'stderr: |
osh_ALT | 10 Complete Filenames with bad characters [osh_ALT stdout] Expected 'TODO\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 | 11 Complete Command with bad characters [osh stdout] Expected 'TODO\n', got 'b\'echo "bad \\yff byte" foo \'\nb\'echo "bad \\yff byte" fooz \'\n' stdout: b'echo "bad \yff byte" foo ' b'echo "bad \yff byte" fooz 'stderr: |
osh_ALT | 11 Complete Command with bad characters [osh_ALT stdout] Expected 'TODO\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 |