| status | ysh | |
| FAIL | 17 | |
| total | 17 | |
| case | ysh | description |
| 0 | FAIL | shell array :| a 'b c' | |
| details | ||
| 1 | FAIL | empty array and simple_word_eval (regression test) |
| details | ||
| 2 | FAIL | Shell arrays support tilde detection, static globbing, brace detection |
| details | ||
| 3 | FAIL | Basic List, a[42] a['42'] allowed |
| details | ||
| 4 | FAIL | Mutate List entries, a[42] a['42'] allowed |
| details | ||
| 5 | FAIL | string array with command sub, varsub, etc. |
| details | ||
| 6 | FAIL | Can print type of List with pp |
| details | ||
| 7 | FAIL | splice and stringify array |
| details | ||
| 8 | FAIL | List->extend() |
| details | ||
| 9 | FAIL | List append()/extend() should return null |
| details | ||
| 10 | FAIL | List pop() |
| details | ||
| 11 | FAIL | List remove() removes elements |
| details | ||
| 12 | FAIL | List remove() does nothing if element does not exist |
| details | ||
| 13 | FAIL | List insert() |
| details | ||
| 14 | FAIL | List insert() overflow |
| details | ||
| 15 | FAIL | List insert() negative |
| details | ||
| 16 | FAIL | List insert() negative overflow |
| details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 17 failed, 0 timeouts, 0 cases skipped 17 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 2 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 3 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 4 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 5 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 6 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 7 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 8 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 9 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 10 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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 11 List remove() removes elements [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 12 List remove() does nothing if element does not exist [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 13 List insert() [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 14 List insert() overflow [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 15 List insert() negative [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 16 List insert() negative overflow [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 16, in <module>
from core import value
ImportError: cannot import name value
|