Results for ysh-command-sub.test.sh

statusoshosh_ALT
pass 70
FAIL 07
total77
caseoshosh_ALTdescription
0pass FAIL Conflict with extglob @( can be avoided with ,(
details
1pass FAIL split command sub @() in expression mode
details
2pass FAIL split command sub @() in command mode
details
3pass FAIL @() decodes J8 Lines
details
4pass FAIL for loop using @(seq $n)
details
5pass FAIL @() can't start in the middle of the word
details
6pass FAIL @() can't have any tokens after it
details
7 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_ALT0 Conflict with extglob @( can be avoided with ,(

[osh_ALT stdout] Expected 'status=0\nstatus=0\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_ALT1 split command sub @() in expression mode

[osh_ALT stdout] Expected '1\n2\n3\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_ALT2 split command sub @() in command mode

[osh_ALT stdout] Expected "1\n2\n3\n--\n['a', 'b', '', 'c']\n--\n1\n2\n3\n--\n['axbxxc']\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_ALT3 @() decodes J8 Lines

[osh_ALT stdout] Expected '[\n "unquoted \\"\\" word",\n " json \xce\xbc ",\n " json j prefix \xce\xbc ",\n " j8 u \xce\xbc ",\n " j8 b \xce\xbc ",\n " j8 no prefix \xce\xbc "\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_ALT4 for loop using @(seq $n)

[osh_ALT stdout] Expected "[1]\n[2]\n[3]\n['z']\n['z']\n['z']\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_ALT5 @() can't start in the middle of the word

[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_ALT6 @() can't have any tokens after it

[osh_ALT stdout] Expected '1\n2\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