Results for ysh-completion.test.sh

statusosh
FAIL 12
total12
caseoshdescription
0FAIL compexport
details
1FAIL compexport with multi-line commands
details
2FAIL redirect completions are quoted
details
3FAIL dir completions have trailing slash
details
4FAIL complete -F strings are not quoted again
details
5FAIL complete -W quoting
details
6FAIL filenames are completed
details
7FAIL complete both -W and -F: words and functions
details
8FAIL -o default is an "else action", when zero are shown
details
9FAIL git completion space issue (disabled for old git, e.g. v2.17.1)
details
10FAIL Complete Filenames with bad characters
details
11FAIL 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

Details on runs that didn't PASS

osh0 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_
osh1 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_
osh2 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_
osh3 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_
osh4 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_
osh5 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_
osh6 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_
osh7 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_
osh8 -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_
osh9 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_
osh10 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_
osh11 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_