status | osh | osh_ALT | |
pass | 6 | 0 | |
FAIL | 1 | 7 | |
total | 7 | 7 | |
case | osh | osh_ALT | description |
0 | pass | FAIL | ${#s} and len(s) |
details | |||
1 | pass | FAIL | JSON \uXXXX\uYYYY as max code point - can't go above |
details | |||
2 | pass | FAIL | Parsing data - J8 rejects \u{110000} |
details | |||
3 | pass | FAIL | Parsing source code - YSH rejects \u{110000} |
details | |||
4 | FAIL | FAIL | Parsing source code - YSH source code rejects encoded string |
details | details | ||
5 | pass | FAIL | JSON and J8 reject encoded string above max code point |
details | |||
6 | pass | FAIL | Max code point: json, json8, = keyword, pp test_ |
details |
6 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh_ALT | 0 ${#s} and len(s) [osh_ALT stdout] Expected 'farmer scalars = 4\nfacepalm scalars = 5\nfarmer len = 15\nfacepalm len = 17\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 JSON \uXXXX\uYYYY as max code point - can't go above [osh_ALT stdout] Expected ' f4 8f bf bf 0a\n f4 8f bf bf 0a\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 Parsing data - J8 rejects \u{110000} [osh_ALT stdout] Expected 'status=1\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 Parsing source code - YSH rejects \u{110000} [osh_ALT stdout] Expected 'status max=0\nstatus too_big=1\n(Str) "\xf4\x8f\xbf\xbf"\n' Got '' [osh_ALT status] Expected 2, 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 | 4 Parsing source code - YSH source code rejects encoded string [osh stdout] Expected '', got "(Str) '\xf4\x8f\xbf\xbf'\nstatus=0\n(Str) b'\\yf4\\y90\\y80\\y80'\nstatus=0\n" stdout: (Str) '' status=0 (Str) b'\yf4\y90\y80\y80' status=0stderr: |
osh_ALT | 4 Parsing source code - YSH source code rejects encoded string [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 | 5 JSON and J8 reject encoded string above max code point [osh_ALT stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\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 Max code point: json, json8, = keyword, pp test_ [osh_ALT stdout] Expected '"\xf4\x8f\xbf\xbf"\n"\xf4\x8f\xbf\xbf"\n(Str) \'\xf4\x8f\xbf\xbf\'\n(Str) "\xf4\x8f\xbf\xbf"\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 |