status | osh | osh_ALT | |
pass | 12 | 0 | |
FAIL | 2 | 14 | |
total | 14 | 14 | |
case | osh | osh_ALT | description |
0 | pass | FAIL | precedence of 1:3 vs comparison |
details | |||
1 | pass | FAIL | precedence of 1:3 vs bitwise operator |
details | |||
2 | pass | FAIL | subscript and slice :| 1 2 3 4 | |
details | |||
3 | pass | FAIL | Range end points can be int-looking Strings |
details | |||
4 | pass | FAIL | Slice indices can be int-looking strings |
details | |||
5 | FAIL | FAIL | slice subscripts are adjusted like Python |
details | details | ||
6 | pass | FAIL | subscript and slice of List |
details | |||
7 | pass | FAIL | expressions and negative indices |
details | |||
8 | pass | FAIL | Index with expression |
details | |||
9 | pass | FAIL | Copy with a[:] |
details | |||
10 | pass | FAIL | Iterate over range |
details | |||
11 | pass | FAIL | Loops over bogus ranges terminate |
details | |||
12 | FAIL | FAIL | Slices with Multiple Dimensions (for TSV8?) |
details | details | ||
13 | pass | FAIL | Closed ranges |
details |
12 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh_ALT | 0 precedence of 1:3 vs comparison [osh_ALT stdout] Expected '(Range 1 ..< 3)\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 1 precedence of 1:3 vs bitwise operator [osh_ALT stdout] Expected '(Range 3 ..< 7)\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 2 subscript and slice :| 1 2 3 4 | [osh_ALT stdout] Expected '(Str) "2"\n(List) ["2","3"]\nimplicit\n(List) ["1","2"]\n(List) ["3","4"]\nout of bounds\n(List) ["1","2","3","4"]\n(List) ["1","2","3","4"]\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 3 Range end points can be int-looking Strings [osh_ALT stdout] Expected '(List) [3,4,5]\n(List) [5,6]\n(List) [3,4]\n(List) [-5,-4]\n(List) [-7,-6]\n' Got '' [osh_ALT status] Expected 3, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 4 Slice indices can be int-looking strings [osh_ALT stdout] Expected '(List) [3,4,5]\n(List) [5,6]\n(List) [3,4]\n(List) [5,6]\n(List) [3,4]\n' Got '' [osh_ALT status] Expected 3, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh | 5 slice subscripts are adjusted like Python [osh stdout] Expected '[2,3]\n[2,3]\n\n[2,3,4,5]\n[2,3,4,5]\n\n[]\n[]\n\n[2,3,4]\n[2,3,4]\n\n[3,4]\n[3,4]\n\n[1,2,3,4]\n[1,2,3,4]\n\n[]\n[]\n\n[5]\n[5]\n\n' Got '[2,3]\n\n[2,3,4,5]\n\n[]\n\n[2,3,4]\n\n[3,4]\n\n[1,2,3,4]\n\n[]\n\n[5]\n\n' stdout: [2,3] [2,3,4,5] [] [2,3,4] [3,4] [1,2,3,4] [] [5]stderr: python3 -c ' ^~~~~~~ [ stdin ]:2: 'python3' not found (OILS-ERR-100) python3 -c ' ^~~~~~~ [ stdin ]:2: 'python3' not found (OILS-ERR-100) python3 -c ' ^~~~~~~ [ stdin ]:2: 'python3' not found (OILS-ERR-100) python3 -c ' ^~~~~~~ [ stdin ]:2: 'python3' not found (OILS-ERR-100) python3 -c ' ^~~~~~~ [ stdin ]:2: 'python3' not found (OILS-ERR-100) python3 -c ' ^~~~~~~ [ stdin ]:2: 'python3' not found (OILS-ERR-100) python3 -c ' ^~~~~~~ [ stdin ]:2: 'python3' not found (OILS-ERR-100) python3 -c ' ^~~~~~~ [ stdin ]:2: 'python3' not found (OILS-ERR-100) |
osh_ALT | 5 slice subscripts are adjusted like Python [osh_ALT stdout] Expected '[2,3]\n[2,3]\n\n[2,3,4,5]\n[2,3,4,5]\n\n[]\n[]\n\n[2,3,4]\n[2,3,4]\n\n[3,4]\n[3,4]\n\n[1,2,3,4]\n[1,2,3,4]\n\n[]\n[]\n\n[5]\n[5]\n\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 6 subscript and slice of List [osh_ALT stdout] Expected '(Int) 2\n(List) [2,3]\nimplicit\n(List) [1,2]\n(List) [3,4]\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 7 expressions and negative indices [osh_ALT stdout] Expected '(Str) "5"\n(List) ["2","3"]\nimplicit\n(List) ["1","2","3"]\n(List) ["4","5"]\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 8 Index with expression [osh_ALT stdout] Expected '3\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 9 Copy with a[:] [osh_ALT stdout] Expected '(List) [1,2,3]\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 10 Iterate over range [osh_ALT stdout] Expected '1\n2\n3\n4\n0, 1\n1, 2\n2, 3\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 11 Loops over bogus ranges terminate [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh | 12 Slices with Multiple Dimensions (for TSV8?) [osh stdout] Expected "(Str) 'TODO: Table Slicing'\n(Str) 'TODO: Table Slicing'\n" Got '' [osh status] Expected 0, got 1 stdout: stderr: qtt pretty :mytable <<< ''' ^~~ [ stdin ]:1: 'qtt' not found (OILS-ERR-100) var t1 = mytable[2:, :] ^~~~~~~ [ stdin ]:8: fatal: Undefined variable 'mytable' |
osh_ALT | 12 Slices with Multiple Dimensions (for TSV8?) [osh_ALT stdout] Expected "(Str) 'TODO: Table Slicing'\n(Str) 'TODO: Table Slicing'\n" Got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 13 Closed ranges [osh_ALT stdout] Expected '1\n2\n(Range 1 ..< 3)\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 141, in AppBundleMain return shell.Main('osh', 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/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |