spec test index / oilshell.org
status | ysh | |
FAIL | 12 | |
total | 12 | |
case | ysh | description |
0 | FAIL | shell array :| a 'b c' | |
details | ||
1 | FAIL | empty array and simple_word_eval (regression test) |
details | ||
2 | FAIL | Empty array and assignment builtin (regression) |
details | ||
3 | FAIL | Shell arrays support tilde detection, static globbing, brace detection |
details | ||
4 | FAIL | Basic List, a[42] a['42'] allowed |
details | ||
5 | FAIL | Mutate List entries, a[42] a['42'] allowed |
details | ||
6 | FAIL | string array with command sub, varsub, etc. |
details | ||
7 | FAIL | Can print type of List with pp |
details | ||
8 | FAIL | splice and stringify array |
details | ||
9 | FAIL | List->extend() |
details | ||
10 | FAIL | List append()/extend() should return null |
details | ||
11 | FAIL | List pop() |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped 12 failed under osh
ysh | 0 shell array :| a 'b c' | [ysh stdout] Expected "['/', 'a', 'b c', '/']\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 empty array and simple_word_eval (regression test) [ysh stdout] Expected "len=0\n['/', '/']\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 Empty array and assignment builtin (regression) [ysh stdout] Expected 'z=1\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 Shell arrays support tilde detection, static globbing, brace detection [ysh stdout] Expected "['/home/bob/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']\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 | 4 Basic List, a[42] a['42'] allowed [ysh stdout] Expected 'len=3\n(Str) "2"\n(Str) "3"\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 Mutate List entries, a[42] a['42'] allowed [ysh stdout] Expected '(List) ["2",1,"4"]\n(List) ["2",1,9]\n(List) ["2",1,99]\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 | 6 string array with command sub, varsub, etc. [ysh stdout] Expected 'len=4\n1\nhi\nsq\ndq 1\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 Can print type of List with pp [ysh stdout] Expected '(List) ["true"]\n(List) []\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 splice and stringify array [ysh stdout] Expected "['a b', 'c']\n", got '' [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 List->extend() [ysh stdout] Expected '2\n5\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 List append()/extend() should return null [ysh stdout] Expected 'pass\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 | 11 List pop() [ysh stdout] Expected 'pass\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_ |