Results for oil-proc.test.sh

statusoshosh_ALT
pass 1313
FAIL 22
total1515
caseoshosh_ALTdescription
0pass pass Open proc (any number of args)
1FAIL FAIL Closed proc with no args, passed too many
detailsdetails
2pass pass Open proc has "$@"
3pass pass Closed proc doesn't have "$@"
4pass pass Proc with default args
5pass pass Proc with explicit args
6pass pass Proc with varargs
7pass pass varargs 2
8pass pass Proc name-with-hyphen
9pass pass Proc with block arg
10pass pass proc returning wrong type
11pass pass proc returning invalid string
12FAIL FAIL Out param / setref
detailsdetails
13pass pass 'return' doesn't accept expressions
14pass pass procs are in same namespace as shell functions
26 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh1 Closed proc with no args, passed too many

[osh stderr] Found 'Traceback (most recent'

stdout:
status=42
stderr:
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 344, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 288, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 247, in AppBundleMain
    loader, line_input)
  File "/home/andy/git/oilshell/oil/core/shell.py", line 631, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 168, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1470, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1317, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 626, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 476, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 217, in RunSimpleCommand
    status = self.cmd_ev.RunProc(proc_node, argv[1:])
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1606, in RunProc
    (proc.name, n_params, n_args))
TypeError: proc 'f' expected 0 arguments, but got 2
osh_ALT1 Closed proc with no args, passed too many

[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
status=42
stderr:
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 319, in _cpython_main_hook
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 288, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 247, in AppBundleMain
    loader, line_input)
  File "/home/andy/git/oilshell/oil/core/shell.py", line 631, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 174, in Batch
    return status
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1470, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1317, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 639, in _Dispatch
    status = self._Execute(node.child)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 476, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 217, in RunSimpleCommand
    status = self.cmd_ev.RunProc(proc_node, argv[1:])
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1606, in RunProc
    (proc.name, n_params, n_args))
TypeError: proc 'f' expected 0 arguments, but got 2
FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.8.4/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh12 Out param / setref

[osh stdout] Expected 'myvar=PREFIX-zzz\n', got 'myvar=PREFIX-\n'

stdout:
myvar=PREFIX-
stderr:
osh_ALT12 Out param / setref

[osh_ALT stdout] Expected 'myvar=PREFIX-zzz\n', got 'myvar=PREFIX-\n'

stdout:
myvar=PREFIX-
stderr: