spec test index / oilshell.org
status | osh | |
FAIL | 12 | |
total | 12 | |
case | osh | description |
0 | FAIL | compexport |
details | ||
1 | FAIL | compexport with multi-line commands |
details | ||
2 | FAIL | redirect completions are quoted |
details | ||
3 | FAIL | dir completions have trailing slash |
details | ||
4 | FAIL | complete -F strings are not quoted again |
details | ||
5 | FAIL | complete -W quoting |
details | ||
6 | FAIL | filenames are completed |
details | ||
7 | FAIL | complete both -W and -F: words and functions |
details | ||
8 | FAIL | -o default is an "else action", when zero are shown |
details | ||
9 | FAIL | git completion space issue (disabled for old git, e.g. v2.17.1) |
details | ||
10 | FAIL | Complete Filenames with bad characters |
details | ||
11 | FAIL | Complete Command with bad characters |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped 12 failed under osh
osh | 0 compexport [osh stdout] Expected '"haynode "\n"hay "\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 compexport with multi-line commands [osh stdout] Expected '"complete "\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 redirect completions are quoted [osh stdout] Expected '"echo hi > can\\\\\'t\\\\ touch\\\\ this"\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 dir completions have trailing slash [osh stdout] Expected '"cd can\\\\\'t\\\\ touch\\\\ this/"\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 complete -F strings are not quoted again [osh 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 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 complete -W quoting [osh stdout] Expected '"q2-argv can\\\\\'t "\n"q2-argv checkout "\n"q2-argv cherry "\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 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 '' [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 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 '' [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 -o default is an "else action", when zero are shown [osh stdout] Expected 'TODO\ngit\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 git completion space issue (disabled for old git, e.g. v2.17.1) [osh stdout] Expected 'status=0\n"git cherry "\n"git cherry-pick "\n"git checkout "\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 Complete Filenames with bad characters [osh stdout] Expected 'TODO\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 Complete Command with bad characters [osh stdout] Expected 'TODO\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_ |