101 passed, 4 OK, 16 not implemented, 3 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
zsh | 3 Redirect in Pipeline stdout: 1stderr: hi |
dash | 6 PIPESTATUS stdout: stderr: dash: 5: Bad substitution |
zsh | 6 PIPESTATUS stdout: stderr: |
dash | 7 PIPESTATUS is set on simple commands, but NOT in OSH stdout: stderr: |
zsh | 7 PIPESTATUS is set on simple commands, but NOT in OSH stdout: stderr: |
osh | 7 PIPESTATUS is set on simple commands, but NOT in OSH stdout: pipestatusstderr: |
dash | 8 PIPESTATUS with shopt -s lastpipe stdout: stderr: dash: 1: shopt: not found dash: 6: Bad substitution |
zsh | 8 PIPESTATUS with shopt -s lastpipe stdout: stderr: zsh: command not found: shopt |
dash | 9 |& stdout: stderr: dash: 1: Syntax error: "&" unexpected |
mksh | 9 |& stdout: stderr: STDERR close failed in file object destructor: sys.excepthook is missing lost sys.stderr |
osh | 9 |& stdout: stderr: stdout_stderr.py |& cat ^~ [ stdin ]:1: fatal: |& isn't supported |
zsh | 17 Evaluation of argv[0] in pipeline occurs in child stdout: 1 cmd=echostderr: |
bash | 18 bash/dash/mksh run the last command is run in its own process stdout: line=stderr: |
dash | 18 bash/dash/mksh run the last command is run in its own process stdout: line=stderr: |
mksh | 18 bash/dash/mksh run the last command is run in its own process stdout: line=stderr: |
dash | 19 shopt -s lastpipe (always on in OSH) stdout: line=stderr: dash: 1: shopt: not found |
mksh | 19 shopt -s lastpipe (always on in OSH) stdout: line=stderr: mksh: <stdin>[1]: shopt: not found |
dash | 20 shopt -s lastpipe (always on in OSH) stdout: i=0stderr: dash: 1: shopt: not found dash: 4: i++: not found dash: 4: i++: not found dash: 4: i++: not found |
mksh | 20 shopt -s lastpipe (always on in OSH) stdout: i=0stderr: mksh: <stdin>[1]: shopt: not found |
osh | 20 shopt -s lastpipe (always on in OSH) [osh stdout] Expected 'i=3\n', got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 202, in <module> sys.exit(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 1213, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 375, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags) File "/home/uke/oil/osh/cmd_eval.py", line 2109, in ExecuteAndCatch status = self._Execute(node) File "/home/uke/oil/osh/cmd_eval.py", line 1908, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1813, in _Dispatch status = self._DoPipeline(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 964, in _DoPipeline self.shell_ex.RunPipeline(node, cmd_st) File "/home/uke/oil/core/executor.py", line 590, in RunPipeline status_out.pipe_status = pi.RunLastPart(self.waiter, self.fd_state) File "/home/uke/oil/core/process.py", line 1414, in RunLastPart cmd_ev.ExecuteAndCatch(last_node, cmd_flags) File "/home/uke/oil/osh/cmd_eval.py", line 2109, in ExecuteAndCatch status = self._Execute(node) File "/home/uke/oil/osh/cmd_eval.py", line 1908, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1789, in _Dispatch status = self._DoWhileUntil(node) File "/home/uke/oil/osh/cmd_eval.py", line 1169, in _DoWhileUntil status = self._Execute(node.body) # last one wins File "/home/uke/oil/osh/cmd_eval.py", line 1908, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1750, in _Dispatch status = self._ExecuteList(node.children) File "/home/uke/oil/osh/cmd_eval.py", line 1985, in _ExecuteList status = self._Execute(child) File "/home/uke/oil/osh/cmd_eval.py", line 1908, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1681, in _Dispatch i = self.arith_ev.EvalToBigInt(node.child) File "/home/uke/oil/osh/sh_expr_eval.py", line 553, in EvalToBigInt val = self.Eval(node) File "/home/uke/oil/osh/sh_expr_eval.py", line 611, in Eval old_big, lval = self._EvalLhsAndLookupArith(node.child) File "/home/uke/oil/osh/sh_expr_eval.py", line 520, in _EvalLhsAndLookupArith location.TokenForArith(node)) File "/home/uke/oil/osh/sh_expr_eval.py", line 130, in OldValue cell = mem.GetCellDeref(var_name) File "/home/uke/oil/core/state.py", line 2318, in GetCellDeref cell, _ = self._ResolveNameOrRef(name, which_scopes) ValueError: too many values to unpack |
bash | 21 SIGPIPE causes pipeline to die (regression for issue #295) stdout: 1 0stderr: cat: write error: Broken pipe |
dash | 21 SIGPIPE causes pipeline to die (regression for issue #295) stdout: stderr: cat: write error: Broken pipe dash: 2: Bad substitution |
zsh | 21 SIGPIPE causes pipeline to die (regression for issue #295) stdout: stderr: cat: write error: Broken pipe |
dash | 24 shopt -s lastpipe and shopt -s no_last_fork interaction stdout: stderr: |