Results for ysh-expr-bool.test.sh

statusosh
FAIL 7
total7
caseoshdescription
0FAIL or short circuits
details
1FAIL and short circuits
details
2FAIL not operator behaves like Python
details
3FAIL not, and, or
details
4FAIL and-or chains for typed data
details
5FAIL or BashArray, or BashAssoc
details
6FAIL x if b else y
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 or short circuits

[osh stdout] Expected 'OK\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 and short circuits

[osh stdout] Expected 'OK\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 not operator behaves like Python

[osh stdout] Expected '(Bool) false\n(Bool) false\n(Bool) false\n(Bool) true\n(Bool) true\n(Bool) true\n(Bool) false\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 not, and, or

[osh stdout] Expected 'false\nfalse\ntrue\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 and-or chains for typed data

[osh stdout] Expected 's\nNone\nx\ny\ny\n\n42\n0\n42\n0\n0.5\n0.0\n[\'a\']\n[]\n{\'d\': 1}\n{}\nOR\nAND\n---\n"s"\nnull\nx\ny\ny\n\n42\n0\n42\n0\n0.5\n0.0\n(List) ["a"]\n(List) []\n(Dict) {"d":1}\n(Dict) {}\nOR\nAND\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 or BashArray, or BashAssoc

[osh stdout] Expected '{"type":"BashArray","data":{"0":"1","1":"2","2":"3"}}\n{"type":"BashAssoc","data":{"k":"v"}}\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 x if b else y

[osh stdout] Expected '43\n41\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_