spec test index / oilshell.org
status | osh | |
FAIL | 7 | |
total | 7 | |
case | osh | description |
0 | FAIL | "in" and "not in" on Dicts |
details | ||
1 | FAIL | dict with 'bare word' keys |
details | ||
2 | FAIL | dict with expression keys |
details | ||
3 | FAIL | dict literal with implicit value |
details | ||
4 | FAIL | Dict literal with string keys |
details | ||
5 | FAIL | keys(d), values(d), get(d, key) |
details | ||
6 | FAIL | get() has default null |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped 7 failed under osh
osh | 0 "in" and "not in" on Dicts [osh stdout] Expected 'true\nfalse\ntrue\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_ |
osh | 1 dict with 'bare word' keys [osh stdout] Expected 'len=0\nlen=1\nlen=2\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 dict with expression keys [osh stdout] Expected 'len=1\nhello\nlen=1\nbar\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 dict literal with implicit value [osh stdout] Expected 'len=1\nfoo\nlen=2\nfoo\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 Dict literal with string keys [osh stdout] Expected '123\n456\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 keys(d), values(d), get(d, key) [osh stdout] Expected '(List) ["a","b"]\n(List) [42,99]\n(Int) 42\n(Str) "default"\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 get() has default null [osh stdout] Expected '(Null) null\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_ |