Results for ysh-slice-range.test.sh

statusosh
FAIL 14
total14
caseoshdescription
0FAIL precedence of 1:3 vs comparison
details
1FAIL precedence of 1:3 vs bitwise operator
details
2FAIL subscript and slice :| 1 2 3 4 |
details
3FAIL Range end points can be int-looking Strings
details
4FAIL Slice indices can be int-looking strings
details
5FAIL slice subscripts are adjusted like Python
details
6FAIL subscript and slice of List
details
7FAIL expressions and negative indices
details
8FAIL Index with expression
details
9FAIL Copy with a[:]
details
10FAIL Iterate over range
details
11FAIL Loops over bogus ranges terminate
details
12FAIL Slices with Multiple Dimensions (for TSV8?)
details
13FAIL Closed ranges
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 14 failed, 0 timeouts, 0 cases skipped
14 failed under osh

Details on runs that didn't PASS

osh0 precedence of 1:3 vs comparison

[osh stdout] Expected '(Range 1 ..< 3)\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 precedence of 1:3 vs bitwise operator

[osh stdout] Expected '(Range 3 ..< 7)\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 subscript and slice :| 1 2 3 4 |

[osh stdout] Expected '(Str) "2"\n(List) ["2","3"]\nimplicit\n(List) ["1","2"]\n(List) ["3","4"]\nout of bounds\n(List) ["1","2","3","4"]\n(List) ["1","2","3","4"]\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 Range end points can be int-looking Strings

[osh stdout] Expected '(List) [3,4,5]\n(List) [5,6]\n(List) [3,4]\n(List) [-5,-4]\n(List) [-7,-6]\n' Got ''
[osh status] Expected 3, 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 Slice indices can be int-looking strings

[osh stdout] Expected '(List) [3,4,5]\n(List) [5,6]\n(List) [3,4]\n(List) [5,6]\n(List) [3,4]\n' Got ''
[osh status] Expected 3, 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 slice subscripts are adjusted like Python

[osh stdout] Expected '[2,3]\n[2,3]\n\n[2,3,4,5]\n[2,3,4,5]\n\n[]\n[]\n\n[2,3,4]\n[2,3,4]\n\n[3,4]\n[3,4]\n\n[1,2,3,4]\n[1,2,3,4]\n\n[]\n[]\n\n[5]\n[5]\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_
osh6 subscript and slice of List

[osh stdout] Expected '(Int) 2\n(List) [2,3]\nimplicit\n(List) [1,2]\n(List) [3,4]\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 expressions and negative indices

[osh stdout] Expected '(Str) "5"\n(List) ["2","3"]\nimplicit\n(List) ["1","2","3"]\n(List) ["4","5"]\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 Index with expression

[osh stdout] Expected '3\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 Copy with a[:]

[osh stdout] Expected '(List) [1,2,3]\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 Iterate over range

[osh stdout] Expected '1\n2\n3\n4\n0, 1\n1, 2\n2, 3\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 Loops over bogus ranges terminate

[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_
osh12 Slices with Multiple Dimensions (for TSV8?)

[osh stdout] Expected "(Str) 'TODO: Table Slicing'\n(Str) 'TODO: Table Slicing'\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_
osh13 Closed ranges

[osh stdout] Expected '1\n2\n(Range 1 ..< 3)\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_