Results for ysh-command-sub.test.sh

statusosh
FAIL 7
total7
caseoshdescription
0FAIL Conflict with extglob @( can be avoided with ,(
details
1FAIL split command sub @() in expression mode
details
2FAIL split command sub @() in command mode
details
3FAIL @() decodes J8 Lines
details
4FAIL for loop using @(seq $n)
details
5FAIL @() can't start in the middle of the word
details
6FAIL @() can't have any tokens after it
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped
7 failed under osh

Details on runs that didn't PASS

osh0 Conflict with extglob @( can be avoided with ,(

[osh stdout] Expected 'status=0\nstatus=0\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 split command sub @() in expression mode

[osh stdout] Expected '1\n2\n3\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 split command sub @() in command mode

[osh stdout] Expected "1\n2\n3\n--\n['a', 'b', '', 'c']\n--\n1\n2\n3\n--\n['axbxxc']\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 @() decodes J8 Lines

[osh stdout] Expected '[\n "unquoted \\"\\" word",\n " json \xce\xbc ",\n " json j prefix \xce\xbc ",\n " j8 u \xce\xbc ",\n " j8 b \xce\xbc ",\n " j8 no prefix \xce\xbc "\n]\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 for loop using @(seq $n)

[osh stdout] Expected "[1]\n[2]\n[3]\n['z']\n['z']\n['z']\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 @() can't start in the middle of the word

[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 @() can't have any tokens after it

[osh stdout] Expected '1\n2\n', got ''
[osh status] Expected 2, 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_