spec test index / oilshell.org
status | osh | |
FAIL | 12 | |
total | 12 | |
case | osh | description |
0 | FAIL | bool() conversion |
details | ||
1 | FAIL | bool() more |
details | ||
2 | FAIL | int() conversion |
details | ||
3 | FAIL | int() more |
details | ||
4 | FAIL | float() conversion |
details | ||
5 | FAIL | float() overflow / underflow |
details | ||
6 | FAIL | str() conversion |
details | ||
7 | FAIL | dict() converts from BashAssoc to Dict |
details | ||
8 | FAIL | dict() does shallow copy |
details | ||
9 | FAIL | list() does shallow copy |
details | ||
10 | FAIL | list() from Dict |
details | ||
11 | FAIL | list() from range |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped 12 failed under osh
osh | 0 bool() conversion [osh stdout] Expected 'true\nfalse\ntrue\ntrue\ntrue\nfalse\nfalse\nfalse\ntrue\ntrue\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 | 1 bool() more [osh stdout] Expected 'false\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 | 2 int() conversion [osh stdout] Expected '1234\n1234\n1\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 int() more [osh stdout] Expected '(Int) 3\n(Int) -35\n(Int) 56\ncode=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_ |
osh | 4 float() conversion [osh stdout] Expected '1234.0\n1.234\n2.345\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 float() overflow / underflow [osh stdout] Expected '1.2\n3.4\ninf\n-inf\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 str() conversion [osh stdout] Expected '1234\n1.234\nfoo\n\ntrue\nnull\n[[:digit:]]+\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 | 7 dict() converts from BashAssoc to Dict [osh stdout] Expected '"BashAssoc"\n{\n "a": "1",\n "b": "2",\n "c": "3"\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_ |
osh | 8 dict() does shallow copy [osh stdout] Expected 'true\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 | 9 list() does shallow copy [osh stdout] Expected '2\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_ |
osh | 10 list() from Dict [osh stdout] Expected 'a\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 | 11 list() from range [osh stdout] Expected '0\n1\n2\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_ |