spec test index / oilshell.org
34 passed, 0 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped 7 failed under osh
osh | 3 pass too many positional params to func (without spread) [osh stderr] Found 'Traceback (most recent' stdout: f=3stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 1007, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, optimize=optimize) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 674, in _Dispatch py_val = self.expr_ev.EvalExpr(node.rhs) File "/home/andy/git/oilshell/oil/oil_lang/expr_eval.py", line 497, in EvalExpr ret = func(*pos_args, **named_args) File "/home/andy/git/oilshell/oil/oil_lang/objects.py", line 160, in __call__ return self.cmd_ev.RunOilFunc(self, args, kwargs) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1641, in RunOilFunc (node.name.val, n_params, n_args)) TypeError: func 'add' expected 2 arguments, but got 3 |
osh_ALT | 3 pass too many positional params to func (without spread) [osh_ALT stderr] Found 'Traceback (most recent' stdout: f=3stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 982, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 171, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 706, in _Dispatch lookup_mode = scope_e.LocalOrGlobal File "/home/andy/git/oilshell/oil/oil_lang/expr_eval.py", line 497, in EvalExpr ret = func(*pos_args, **named_args) File "/home/andy/git/oilshell/oil/oil_lang/objects.py", line 160, in __call__ return self.cmd_ev.RunOilFunc(self, args, kwargs) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1641, in RunOilFunc (node.name.val, n_params, n_args)) TypeError: func 'add' expected 2 arguments, but got 3 FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.8.pre5/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh | 6 Func with missing named param with no default [osh stderr] Found 'Traceback (most recent' stdout: verbose 5stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 1007, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, optimize=optimize) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 674, in _Dispatch py_val = self.expr_ev.EvalExpr(node.rhs) File "/home/andy/git/oilshell/oil/oil_lang/expr_eval.py", line 497, in EvalExpr ret = func(*pos_args, **named_args) File "/home/andy/git/oilshell/oil/oil_lang/objects.py", line 160, in __call__ return self.cmd_ev.RunOilFunc(self, args, kwargs) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1655, in RunOilFunc "value" % name.val) TypeError: Named argument 'verbose' wasn't passed, and it doesn't have a default value |
osh_ALT | 6 Func with missing named param with no default [osh_ALT stderr] Found 'Traceback (most recent' stdout: verbose 5stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 982, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 171, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 706, in _Dispatch lookup_mode = scope_e.LocalOrGlobal File "/home/andy/git/oilshell/oil/oil_lang/expr_eval.py", line 497, in EvalExpr ret = func(*pos_args, **named_args) File "/home/andy/git/oilshell/oil/oil_lang/objects.py", line 160, in __call__ return self.cmd_ev.RunOilFunc(self, args, kwargs) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1655, in RunOilFunc "value" % name.val) TypeError: Named argument 'verbose' wasn't passed, and it doesn't have a default value FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.8.pre5/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh | 7 Func passed wrong named param [osh stderr] Found 'Traceback (most recent' stdout: x=5stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 1007, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, optimize=optimize) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 674, in _Dispatch py_val = self.expr_ev.EvalExpr(node.rhs) File "/home/andy/git/oilshell/oil/oil_lang/expr_eval.py", line 497, in EvalExpr ret = func(*pos_args, **named_args) File "/home/andy/git/oilshell/oil/oil_lang/objects.py", line 160, in __call__ return self.cmd_ev.RunOilFunc(self, args, kwargs) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1668, in RunOilFunc (node.name.val, ', '.join(kwargs.keys()))) TypeError: func 'add' got unexpected named arguments: verbose |
osh_ALT | 7 Func passed wrong named param [osh_ALT stderr] Found 'Traceback (most recent' stdout: x=5stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 982, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 171, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 706, in _Dispatch lookup_mode = scope_e.LocalOrGlobal File "/home/andy/git/oilshell/oil/oil_lang/expr_eval.py", line 497, in EvalExpr ret = func(*pos_args, **named_args) File "/home/andy/git/oilshell/oil/oil_lang/objects.py", line 160, in __call__ return self.cmd_ev.RunOilFunc(self, args, kwargs) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1668, in RunOilFunc (node.name.val, ', '.join(kwargs.keys()))) TypeError: func 'add' got unexpected named arguments: verbose FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.8.pre5/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh | 12 Closed proc with no args, passed too many [osh stderr] Found 'Traceback (most recent' stdout: status=42stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 1007, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, optimize=optimize) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 573, in _Dispatch status = self._RunSimpleCommand(cmd_val, node.do_fork) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 481, in _RunSimpleCommand return self.shell_ex.RunSimpleCommand(cmd_val, do_fork) File "/home/andy/git/oilshell/oil/core/executor.py", line 228, in RunSimpleCommand status = self.cmd_ev.RunOilProc(val.obj, argv[1:]) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1567, in RunOilProc (node.name.val, n_params, n_args)) TypeError: proc 'f' expected 0 arguments, but got 2 |
osh_ALT | 12 Closed proc with no args, passed too many [osh_ALT stderr] Found 'Traceback (most recent' stdout: status=42stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 982, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 171, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 589, in _Dispatch self.mem.PopTemp() File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 481, in _RunSimpleCommand return self.shell_ex.RunSimpleCommand(cmd_val, do_fork) File "/home/andy/git/oilshell/oil/core/executor.py", line 228, in RunSimpleCommand status = self.cmd_ev.RunOilProc(val.obj, argv[1:]) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1567, in RunOilProc (node.name.val, 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.pre5/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh | 21 basic lambda [osh stdout] Expected '1\n43\n', got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 1007, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, optimize=optimize) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 674, in _Dispatch py_val = self.expr_ev.EvalExpr(node.rhs) File "/home/andy/git/oilshell/oil/oil_lang/expr_eval.py", line 490, in EvalExpr raise NotImplementedError() NotImplementedError |
osh_ALT | 21 basic lambda [osh_ALT stdout] Expected '1\n43\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/andy/git/oilshell/oil/bin/oil.py", line 982, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 953, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 926, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 757, in ShellMain status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 171, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 706, in _Dispatch lookup_mode = scope_e.LocalOrGlobal File "/home/andy/git/oilshell/oil/oil_lang/expr_eval.py", line 490, in EvalExpr raise NotImplementedError() NotImplementedError FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.8.pre5/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh | 22 proc returning wrong type [osh status] Expected 0, got 1 stdout: stderr: ['one', 'two'] |
osh_ALT | 22 proc returning wrong type [osh_ALT status] Expected 0, got 1 stdout: stderr: ['one', 'two'] |
osh | 23 proc returning invalid string [osh status] Expected 0, got 1 stdout: stderr: not an integer status |
osh_ALT | 23 proc returning invalid string [osh_ALT status] Expected 0, got 1 stdout: stderr: not an integer status |