spec test index / oilshell.org
status | osh | |
FAIL | 11 | |
total | 11 | |
case | osh | description |
0 | FAIL | Splice in array |
details | ||
1 | FAIL | Assoc array can't be spliced directly |
details | ||
2 | FAIL | Can't splice string |
details | ||
3 | FAIL | Can't splice undefined |
details | ||
4 | FAIL | echo $[f(x)] for various types |
details | ||
5 | FAIL | echo $f (x) with space is runtime error |
details | ||
6 | FAIL | echo @f (x) with space is runtime error |
details | ||
7 | FAIL | echo $x for various types |
details | ||
8 | FAIL | Wrong sigil with $range() is runtime error |
details | ||
9 | FAIL | Can't serialize type List in an array? TODO: consider __str__ |
details | ||
10 | FAIL | Wrong sigil @[max(3, 4)] |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 11 failed, 0 timeouts, 0 cases skipped 11 failed under osh
osh | 0 Splice in array [osh stdout] Expected "['one', 'two', 'three']\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 Assoc array can't be spliced directly [osh stdout] Expected 'bar\neggs\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 | 2 Can't splice string [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 | 3 Can't splice undefined [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 | 4 echo $[f(x)] for various types [osh stdout] Expected 'bool true\nint 2\nfloat 3.14\nstr identity\n---\nbool expr true\nbool splice true\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 echo $f (x) with space is runtime error [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 | 6 echo @f (x) with space is runtime error [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 echo $x for various types [osh stdout] Expected 'true\n42\n3.14\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 Wrong sigil with $range() is runtime error [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 | 9 Can't serialize type List in an array? TODO: consider __str__ [osh stdout] Expected '3\ntrue\n___\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 | 10 Wrong sigil @[max(3, 4)] [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_ |