spec test index / oilshell.org
status | ysh | |
FAIL | 12 | |
total | 12 | |
case | ysh | description |
0 | FAIL | join() |
details | ||
1 | FAIL | @[split(x)] respects IFS |
details | ||
2 | FAIL | @[maybe(x)] |
details | ||
3 | FAIL | maybe() on invalid type is fatal error |
details | ||
4 | FAIL | split() on invalid type is fatal error |
details | ||
5 | FAIL | @[glob(x)] |
details | ||
6 | FAIL | shSplit() respects IFS |
details | ||
7 | FAIL | getVar() gets global or local vars |
details | ||
8 | FAIL | ASCII upper() lower() |
details | ||
9 | FAIL | Unicode upper() lower() |
details | ||
10 | FAIL | getFrame() |
details | ||
11 | FAIL | bindFrame() |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped 12 failed under osh
ysh | 0 join() [ysh stdout] Expected "['abc d']\n['a:b:c d']\n", got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 1 @[split(x)] respects IFS [ysh stdout] Expected "['one', 'two', 'three']\n", got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 2 @[maybe(x)] [ysh stdout] Expected "['a', 'X', 'b']\n['a', 'b']\n", got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 3 maybe() on invalid type is fatal error [ysh status] Expected 3, got 1 [ysh 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_ |
ysh | 4 split() on invalid type is fatal error [ysh stdout] Expected '--all\n--long\n', got '' [ysh status] Expected 3, got 1 [ysh 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_ |
ysh | 5 @[glob(x)] [ysh stdout] Expected 'A\nB\n___\na.z\nb.z\n___\n-.z\na.z\nb.z\n', got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 6 shSplit() respects IFS [ysh stdout] Expected "['aa', 'a', 'bb', 'b']\n[' ', '', ' ', ' bb b ']\n[' aa a ', '', ' ', ' ']\n" Got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 7 getVar() gets global or local vars [ysh stdout] Expected 'g=global\nmylocal=43\nmylocal=43\nnot_global_or_local=null\n' Got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 8 ASCII upper() lower() [ysh stdout] Expected 'abc-\nXYZ!\n\nABC-\nabc-\nXYZ!\nxyz!\n', got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 9 Unicode upper() lower() [ysh stdout] Expected '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n', got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 10 getFrame() [ysh stdout] Expected '<Frame>\n(List) []\n\np2 frame -1\n<Frame>\n(Dict) {"ARGV":[],"fr":<Frame>}\n(List) ["ARGV","fr"]\n\np2 frame -2\n<Frame>\n(List) ["ARGV","p1_var"]\n\n' Got '' [ysh status] Expected 3, got 1 [ysh 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_ |
ysh | 11 bindFrame() [ysh status] Expected 0, got 1 [ysh 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_ |