status | ysh | ysh_ALT | |
pass | 16 | 0 | |
FAIL | 0 | 16 | |
total | 16 | 16 | |
case | ysh | ysh_ALT | description |
0 | pass | FAIL | For loop over expression: List |
details | |||
1 | pass | FAIL | For loop over expression: Dict, not BashAssoc |
details | |||
2 | pass | FAIL | For loop over range |
details | |||
3 | pass | FAIL | Shell for loop with index (equivalent of enumerate()) |
details | |||
4 | pass | FAIL | 3 indices with (mylist) is a runtime error |
details | |||
5 | pass | FAIL | Shell for loop can't have 3 indices |
details | |||
6 | pass | FAIL | Any for loop can't have 4 indiecs |
details | |||
7 | pass | FAIL | Expression for loop with index: List |
details | |||
8 | pass | FAIL | Expression for loop with index: Dict (TODO: define dict iter order) |
details | |||
9 | pass | FAIL | Dict: index key value loop (TODO: define dict iter order) |
details | |||
10 | pass | FAIL | Equivalent of zip() |
details | |||
11 | pass | FAIL | parse_bare_word eliminates confusion |
details | |||
12 | pass | FAIL | Object that's not iterable |
details | |||
13 | pass | FAIL | YSH for with brace substitution and glob |
details | |||
14 | pass | FAIL | for x in (io.stdin) { |
details | |||
15 | pass | FAIL | I/O error in for x in (stdin) { |
details |
16 passed, 0 OK, 0 not implemented, 0 BUG, 16 failed, 0 timeouts, 0 cases skipped
ysh_ALT | 0 For loop over expression: List [ysh_ALT stdout] Expected 'item 1\nitem 2\nitem 3\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 1 For loop over expression: Dict, not BashAssoc [ysh_ALT stdout] Expected 'key name\nkey age\n', got '' [ysh_ALT status] Expected 3, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 2 For loop over range [ysh_ALT stdout] Expected 'i 0\ni 1\ni 2\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 3 Shell for loop with index (equivalent of enumerate()) [ysh_ALT stdout] Expected '0 a\n1 b\n2 c\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 4 3 indices with (mylist) is a runtime error [ysh_ALT status] Expected 2, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 5 Shell for loop can't have 3 indices [ysh_ALT status] Expected 2, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 6 Any for loop can't have 4 indiecs [ysh_ALT status] Expected 2, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 7 Expression for loop with index: List [ysh_ALT stdout] Expected '0 spam\n1 eggs\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 8 Expression for loop with index: Dict (TODO: define dict iter order) [ysh_ALT stdout] Expected 'pair name bob\npair age 40\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 9 Dict: index key value loop (TODO: define dict iter order) [ysh_ALT stdout] Expected 'entry 0 name bob\nentry 1 age 40\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 10 Equivalent of zip() [ysh_ALT stdout] Expected '0 a d\n1 b e\n2 c f\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 11 parse_bare_word eliminates confusion [ysh_ALT status] Expected 2, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 12 Object that's not iterable [ysh_ALT stdout] Expected 'hi\n', got '' [ysh_ALT status] Expected 3, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 13 YSH for with brace substitution and glob [ysh_ALT stdout] Expected '0 bar.py\n1 foo.py\n2 README.md\n3 foo.md\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 14 for x in (io.stdin) { [ysh_ALT 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_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 15 I/O error in for x in (stdin) { [ysh_ALT stdout] Expected 'pass\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 740, in Main b[builtin_i.bind] = readline_osh.Bind(readline, errfmt, mem) File "/home/uke/oil/builtin/readline_osh.py", line 58, in __init__ readline.set_bind_shell_command_hook(lambda *args: self.bind_shell_command_hook(*args)) File "/home/uke/oil/frontend/py_readline.py", line 169, in set_bind_shell_command_hook line_input.set_bind_shell_command_hook(hook) AttributeError: 'module' object has no attribute 'set_bind_shell_command_hook' FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.25.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |