spec test index / oilshell.org
status | osh | |
FAIL | 7 | |
total | 7 | |
case | osh | description |
0 | FAIL | or short circuits |
details | ||
1 | FAIL | and short circuits |
details | ||
2 | FAIL | not operator behaves like Python |
details | ||
3 | FAIL | not, and, or |
details | ||
4 | FAIL | and-or chains for typed data |
details | ||
5 | FAIL | or BashArray, or BashAssoc |
details | ||
6 | FAIL | 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
osh | 0 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_ |
osh | 1 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_ |
osh | 2 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_ |
osh | 3 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_ |
osh | 4 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_ |
osh | 5 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_ |
osh | 6 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_ |