spec test index / oilshell.org
status | osh | |
FAIL | 10 | |
total | 10 | |
case | osh | description |
0 | FAIL | oil:upgrade as alias for ysh:upgrade |
details | ||
1 | FAIL | %() array literal |
details | ||
2 | FAIL | _match() instead of _group() |
details | ||
3 | FAIL | _status instead of _error.code |
details | ||
4 | FAIL | source ///osh/two.sh rather than source --builtin osh/two.sh |
details | ||
5 | FAIL | OILS_VERSION, not OIL_VERSION |
details | ||
6 | FAIL | s.upper(), not s => upper() (might keep this) |
details | ||
7 | FAIL | fopen can be spelled redir |
details | ||
8 | FAIL | Dict => keys() |
details | ||
9 | FAIL | Obj API |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped 10 failed under osh
osh | 0 oil:upgrade as alias for ysh:upgrade [osh stdout] Expected 'shopt -u simple_word_eval\nshopt -s simple_word_eval\nshopt -u simple_word_eval\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 %() array literal [osh stdout] Expected 'one two\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 _match() instead of _group() [osh stdout] Expected '42\n42\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 _status instead of _error.code [osh stdout] Expected 'status=42\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 source ///osh/two.sh rather than source --builtin osh/two.sh [osh stdout] Expected 'status=0\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 OILS_VERSION, not OIL_VERSION [osh stdout] Expected 'OIL\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 s.upper(), not s => upper() (might keep this) [osh stdout] Expected 'FOO\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 | 7 fopen can be spelled redir [osh stdout] Expected '2\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 | 8 Dict => keys() [osh stdout] Expected '(List) ["hello","friend","cat"]\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 Obj API [osh stdout] Expected '(Obj) ("x":4)\n0\n(Dict) {"x":4}\n0\n(Null) null\n0\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_ |