| case | dash | bash | mksh | zsh | osh | osh_ALT | description |
| 0 | pass | pass | pass | pass | pass | pass | Brace group in pipeline |
| 1 | pass | pass | pass | pass | pass | pass | For loop starts pipeline |
| 2 | pass | pass | pass | pass | pass | pass | While Loop ends pipeline |
| 3 | pass | pass | pass | BUG | pass | pass | Redirect in Pipeline |
| details | |||||||
| 4 | pass | pass | pass | pass | pass | pass | Pipeline comments |
| 5 | pass | pass | pass | pass | pass | pass | Exit code is last status |
| 6 | N-I | pass | pass | N-I | pass | pass | PIPESTATUS |
| details | details | ||||||
| 7 | N-I | pass | N-I | pass | FAIL | FAIL | |& |
| details | details | details | details | ||||
| 8 | pass | pass | pass | pass | pass | pass | ! turns non-zero into zero |
| 9 | pass | pass | pass | pass | pass | pass | ! turns zero into 1 |
| 10 | pass | pass | pass | pass | pass | pass | ! in if |
| 11 | pass | pass | pass | pass | pass | pass | ! with || |
| 12 | pass | pass | pass | pass | pass | pass | ! with { } |
| 13 | pass | pass | pass | pass | pass | pass | ! with ( ) |
| 14 | pass | pass | pass | pass | pass | pass | ! is not a command |
| 15 | pass | pass | pass | BUG | pass | pass | Evaluation of argv[0] in pipeline occurs in child |
| details | |||||||
| 16 | pass | pass | pass | ok | pass | pass | last command is run in its own process |
| details | |||||||
| 17 | N-I | pass | N-I | pass | FAIL | FAIL | shopt -s lastpipe |
| details | details | details | details | ||||
| 18 | N-I | pass | N-I | pass | FAIL | FAIL | shopt -s lastpipe |
| details | details | details | details |
97 passed, 1 ok, 8 known unimplemented, 2 known bugs, 3 failed, 0 skipped
| zsh | 3 Redirect in Pipeline stdout: 1stderr: hi |
| dash | 6 PIPESTATUS stdout: stderr: /bin/dash: 2: Bad substitution |
| zsh | 6 PIPESTATUS stdout: stderr: |
| dash | 7 |& stdout: stderr: /bin/dash: 1: Syntax error: "&" unexpected |
| mksh | 7 |& stdout: stderr: STDERR close failed in file object destructor: sys.excepthook is missing lost sys.stderr |
| osh | 7 |& [osh stdout] Expected u'STDERR\nSTDOUT\n', got '' [osh status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 448, in <module>
main(sys.argv)
File "bin/osh", line 435, in main
sys.exit(OilMain(argv))
File "bin/osh", line 418, in OilMain
status = OshMain(main_argv)
File "bin/osh", line 379, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 955, in Execute
status = self._Execute(node, fork_external=fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 919, in _Execute
status, check_errexit = self._Dispatch(node, fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 729, in _Dispatch
status = self._ExecuteList(node.children)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 948, in _ExecuteList
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 919, in _Execute
status, check_errexit = self._Dispatch(node, fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 632, in _Dispatch
raise NotImplementedError('|&')
NotImplementedError: |&
|
| osh_ALT | 7 |& [osh_ALT stdout] Expected u'STDERR\nSTDOUT\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last):
File "/home/andy/git/oil/Python-2.7.13/Lib/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/home/andy/git/oil/Python-2.7.13/Lib/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/andy/git/oil/bin/oil.py", line 448, in <module>
main(sys.argv)
File "/home/andy/git/oil/bin/oil.py", line 435, in main
sys.exit(OilMain(argv))
File "/home/andy/git/oil/bin/oil.py", line 418, in OilMain
status = OshMain(main_argv)
File "/home/andy/git/oil/bin/oil.py", line 379, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 955, in Execute
status = self._Execute(node, fork_external=fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 919, in _Execute
status, check_errexit = self._Dispatch(node, fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 729, in _Dispatch
status = self._ExecuteList(node.children)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 948, in _ExecuteList
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 919, in _Execute
status, check_errexit = self._Dispatch(node, fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 632, in _Dispatch
raise NotImplementedError('|&')
NotImplementedError: |&
|
| zsh | 15 Evaluation of argv[0] in pipeline occurs in child stdout: 1 cmd=echostderr: |
| zsh | 16 last command is run in its own process stdout: line=histderr: |
| dash | 17 shopt -s lastpipe stdout: line=stderr: /bin/dash: 1: shopt: not found |
| mksh | 17 shopt -s lastpipe stdout: line=stderr: /bin/mksh: <stdin>[1]: shopt: not found |
| osh | 17 shopt -s lastpipe [osh stdout] Expected 'line=hi\n', got 'line=\n' stdout: line=stderr: usage error: Invalid option 'lastpipe' osh warning: *** read without -r not implemented *** |
| osh_ALT | 17 shopt -s lastpipe [osh_ALT stdout] Expected 'line=hi\n', got 'line=\n' stdout: line=stderr: usage error: Invalid option 'lastpipe' osh warning: *** read without -r not implemented *** |
| dash | 18 shopt -s lastpipe stdout: i=0stderr: /bin/dash: 1: shopt: not found /bin/dash: 4: i++: not found /bin/dash: 4: i++: not found /bin/dash: 4: i++: not found |
| mksh | 18 shopt -s lastpipe stdout: i=0stderr: /bin/mksh: <stdin>[1]: shopt: not found |
| osh | 18 shopt -s lastpipe [osh stdout] Expected 'i=3\n', got 'i=0\n' stdout: i=0stderr: usage error: Invalid option 'lastpipe' osh warning: *** read without -r not implemented *** osh warning: *** read without -r not implemented *** osh warning: *** read without -r not implemented *** osh warning: *** read without -r not implemented *** |
| osh_ALT | 18 shopt -s lastpipe [osh_ALT stdout] Expected 'i=3\n', got 'i=0\n' stdout: i=0stderr: usage error: Invalid option 'lastpipe' osh warning: *** read without -r not implemented *** osh warning: *** read without -r not implemented *** osh warning: *** read without -r not implemented *** osh warning: *** read without -r not implemented *** |