Results for ysh-with-sh.test.sh

statusoshosh_ALT
pass 110
FAIL 011
total1111
caseoshosh_ALTdescription
0pass FAIL Can't use x+= on YSH Int (issue #840)
details
1pass FAIL Can't x+= on other YSH types
details
2pass FAIL Shell ${x:-default} with YSH List (issue #954)
details
3pass FAIL Shell ${a[0]} with YSH List (issue #1092)
details
4pass FAIL Can't splice nested List
details
5pass FAIL Can't splice nested Dict
details
6pass FAIL ${#x} on List and Dict
details
7pass FAIL Can't use $x on List and Dict
details
8pass FAIL Iterate over array with holes (bug fix)
details
9pass FAIL Slice bash array isn't allowed
details
10pass FAIL Concat ++ not defined on shell array
details
11 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_ALT0 Can't use x+= on YSH Int (issue #840)

[osh_ALT stdout] Expected 'sh_str=2\nsh_str=21\nsh_str=211\n\nysh_int=2\n' Got ''
[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 Can't x+= on other YSH types

[osh_ALT stdout] Expected 'eggex 1\nDict 1\nBashAssoc 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_ALT2 Shell ${x:-default} with YSH List (issue #954)

[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_ALT3 Shell ${a[0]} with YSH List (issue #1092)

[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_ALT4 Can't splice nested List

[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_ALT5 Can't splice nested Dict

[osh_ALT stdout] Expected 'v v2\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_ALT6 ${#x} on List and Dict

[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_ALT7 Can't use $x on List and Dict

[osh_ALT stdout] Expected 'array abc\narray abc\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_ALT8 Iterate over array with holes (bug fix)

[osh_ALT stdout] Expected "['a', 'b', 'c']\narray=(); array[0]=a array[1]=b array[5]=c\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_ALT9 Slice bash array isn't allowed

[osh_ALT stdout] Expected "['c d', 'e']\n['copy', 'bash']\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_ALT10 Concat ++ not defined on shell array

[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