case | dash | bash | mksh | osh | description |
0 | ok | pass | pass | pass | nounset |
details | |||||
1 | ok | pass | pass | pass | -u is nounset |
details | |||||
2 | pass | pass | pass | FAIL | reset option with long flag |
details | |||||
3 | pass | pass | pass | FAIL | reset option with short flag |
details | |||||
4 | pass | pass | pass | pass | sh -c |
16 passed, 2 ok, 0 known unimplemented, 0 known bugs, 2 failed, 0 skipped
dash | 0 nounset stdout: []stderr: /bin/dash: 3: unset: parameter not set |
dash | 1 -u is nounset stdout: []stderr: /bin/dash: 3: unset: parameter not set |
osh | 2 reset option with long flag [osh stdout] Expected b'[]\n', got b'' [osh status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "bin/osh", line 378, in <module> sys.exit(main(sys.argv)) File "bin/osh", line 368, in main return OshMain(main_argv) File "bin/osh", line 327, in OshMain status = ex.Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute status = self._Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 791, in _Execute status = self._Execute(child) # last status wins File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 707, in _Execute status = thunk.RunInParent() File "/home/andy/git/oil/bin/../core/process.py", line 354, in RunInParent return self.ex.RunBuiltin(self.builtin_id, self.argv) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 468, in RunBuiltin status = self._Set(argv) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 342, in _Set raise NotImplementedError() NotImplementedError |
osh | 3 reset option with short flag [osh stdout] Expected b'[]\n', got b'' [osh status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 337, in _Set name = argv[2] IndexError: list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "bin/osh", line 378, in <module> sys.exit(main(sys.argv)) File "bin/osh", line 368, in main return OshMain(main_argv) File "bin/osh", line 327, in OshMain status = ex.Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute status = self._Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 791, in _Execute status = self._Execute(child) # last status wins File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 707, in _Execute status = thunk.RunInParent() File "/home/andy/git/oil/bin/../core/process.py", line 354, in RunInParent return self.ex.RunBuiltin(self.builtin_id, self.argv) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 468, in RunBuiltin status = self._Set(argv) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 339, in _Set raise NotImplementedError(argv) NotImplementedError: ['set', '-u'] |