0 passed, 0 OK, 0 not implemented, 0 BUG, 20 failed, 0 timeouts, 0 cases skipped 20 failed under osh
| ysh | 0 For loop over expression: List [ysh stdout] Expected 'item 1\nitem 2\nitem 3\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 For loop over expression: Dict, not BashAssoc [ysh stdout] Expected 'key name\nkey age\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 | 2 For loop over range [ysh stdout] Expected 'i 0\ni 1\ni 2\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 Shell for loop with index (equivalent of enumerate()) [ysh stdout] Expected '0 a\n1 b\n2 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 | 4 3 indices with (mylist) is a runtime error [ysh status] Expected 2 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 Shell for loop can't have 3 indices [ysh status] Expected 2 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 Any for loop can't have 4 indices [ysh status] Expected 2 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 Expression for loop with index: List [ysh stdout] Expected '0 spam\n1 eggs\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 | 8 Expression for loop with index: Dict (TODO: define dict iter order) [ysh stdout] Expected 'pair name bob\npair age 40\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 Dict: index key value loop (TODO: define dict iter order) [ysh stdout] Expected 'entry 0 name bob\nentry 1 age 40\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 Equivalent of zip() [ysh stdout] Expected '0 a d\n1 b e\n2 c f\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 no_parse_bare_word eliminates confusion [ysh status] Expected 2 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 Object that's not iterable [ysh stdout] Expected 'hi\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 | 13 YSH for with brace substitution and glob [ysh stdout] Expected '0 bar.py\n1 foo.py\n2 README.md\n3 foo.md\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 for x in (io.stdin) { [ysh stdout] Expected '-1-\n-2-\n-3-\n\n0 1\n1 2\n2 3\n\nempty\ndone\n\nempty2\ndone2\n\nspace\nhi\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 I/O error in for x in (stdin) { [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 Append to List in loop extends the loop (matches JS) [ysh stdout] Expected '1\n2\n3\n99\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 | 17 Remove from List in loop shortens it (matches JS) [ysh stdout] Expected '1\n2\n3\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 | 18 Adding to Dict in loop does NOT extend the loop (matches JS) [ysh stdout] Expected '1\n2\n3\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 | 19 Removing from Dict in loop does NOT change the loop (does NOT match JS) [ysh stdout] Expected '1\n2\n3\n4\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
|