83 passed, 8 ok, 2 known unimplemented, 6 known bugs, 5 failed, 0 skipped
dash | 0 can continue after unknown option stdout: stderr: /bin/dash: 2: set: Illegal option -o STRICT |
mksh | 0 can continue after unknown option stdout: stderr: /bin/mksh: <stdin>[2]: set: STRICT: bad option |
osh | 1 set with both options and argv [osh stdout] Expected 'a b c\n', got '\n' stdout: stderr: Line 0 of '<unknown>' <no position info for token> osh failed: 'SimpleCommand' command exited with status 1 |
dash | 2 nounset stdout: []stderr: /bin/dash: 3: unset: parameter not set |
dash | 3 -u is nounset stdout: []stderr: /bin/dash: 3: unset: parameter not set |
osh | 4 reset option with long flag [osh stdout] Expected '[]\n', got '' [osh status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "bin/osh", line 438, in <module> main(sys.argv) File "bin/osh", line 425, in main sys.exit(OilMain(argv)) File "bin/osh", line 408, in OilMain status = OshMain(main_argv) File "bin/osh", line 367, in OshMain status = ex.Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 849, in Execute status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 833, in _Execute status = self._Dispatch(node, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 631, in _Dispatch status = self._ExecuteList(node.children) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 842, in _ExecuteList status = self._Execute(child) # last status wins File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 833, in _Execute status = self._Dispatch(node, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 553, in _Dispatch status = self._RunSimpleCommand(argv, more_env, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 469, in _RunSimpleCommand status = self._RunBuiltin(builtin_id, argv) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 256, in _RunBuiltin status = builtin._Set(argv, self.exec_opts, self.mem) File "/home/andy/git/oil/bin/../core/builtin.py", line 663, in _Set raise NotImplementedError() NotImplementedError |
osh | 5 reset option with short flag [osh stdout] Expected '[]\n', got '' [osh status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "bin/osh", line 438, in <module> main(sys.argv) File "bin/osh", line 425, in main sys.exit(OilMain(argv)) File "bin/osh", line 408, in OilMain status = OshMain(main_argv) File "bin/osh", line 367, in OshMain status = ex.Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 849, in Execute status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 833, in _Execute status = self._Dispatch(node, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 631, in _Dispatch status = self._ExecuteList(node.children) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 842, in _ExecuteList status = self._Execute(child) # last status wins File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 833, in _Execute status = self._Dispatch(node, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 553, in _Dispatch status = self._RunSimpleCommand(argv, more_env, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 469, in _RunSimpleCommand status = self._RunBuiltin(builtin_id, argv) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 256, in _RunBuiltin status = builtin._Set(argv, self.exec_opts, self.mem) File "/home/andy/git/oil/bin/../core/builtin.py", line 660, in _Set raise NotImplementedError(argv) NotImplementedError: ['-u'] |
osh | 7 -n for no execution (useful with --ast-output) [osh status] Expected 0, got 1 stdout: 1stderr: Traceback (most recent call last): File "bin/osh", line 438, in <module> main(sys.argv) File "bin/osh", line 425, in main sys.exit(OilMain(argv)) File "bin/osh", line 408, in OilMain status = OshMain(main_argv) File "bin/osh", line 367, in OshMain status = ex.Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 849, in Execute status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 833, in _Execute status = self._Dispatch(node, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 631, in _Dispatch status = self._ExecuteList(node.children) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 842, in _ExecuteList status = self._Execute(child) # last status wins File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 833, in _Execute status = self._Dispatch(node, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 553, in _Dispatch status = self._RunSimpleCommand(argv, more_env, fork_external) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 469, in _RunSimpleCommand status = self._RunBuiltin(builtin_id, argv) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 256, in _RunBuiltin status = builtin._Set(argv, self.exec_opts, self.mem) File "/home/andy/git/oil/bin/../core/builtin.py", line 660, in _Set raise NotImplementedError(argv) NotImplementedError: ['-n'] |
osh | 8 xtrace [osh stderr] Expected '+ echo 2\n', got '' stdout: 1 2stderr: |
dash | 17 errexit with (( )) stdout: stderr: /bin/dash: 3: i++: not found |
bash | 19 errexit with command sub stdout: one twostderr: |
dash | 20 errexit with local stdout: good badstderr: |
bash | 20 errexit with local stdout: good badstderr: |
mksh | 20 errexit with local stdout: good badstderr: |
dash | 21 setting errexit while it's being ignored stdout: 1 2 3 4 5 6stderr: |
bash | 21 setting errexit while it's being ignored stdout: 1 2 3 4 5 6stderr: |
mksh | 21 setting errexit while it's being ignored stdout: 1 2 3 4 5 6stderr: |
dash | 23 setting errexit while it's being ignored in a subshell stdout: 1 2 3 4 5 6stderr: |
bash | 23 setting errexit while it's being ignored in a subshell stdout: 1 2 3 4 5 6stderr: |
mksh | 23 setting errexit while it's being ignored in a subshell stdout: 1 2 3 4 5 6stderr: |
dash | 25 pipefail stdout: 0stderr: /bin/dash: 3: set: Illegal option -o pipefail |