Results for pipeline.test.sh

casedashbashmkshzshoshdescription
0pass pass pass pass pass Brace group in pipeline
1pass pass pass pass pass For loop in pipeline
2pass pass pass BUG pass Redirect in Pipeline
details
3pass pass pass pass pass Exit code is last status
4N-I pass pass N-I pass PIPESTATUS
detailsdetails
5N-I pass N-I pass FAIL |&
detailsdetailsdetails
6pass pass pass pass pass ! turns non-zero into zero
7pass pass pass pass pass ! turns zero into 1
8pass pass pass pass pass ! in if
9pass pass pass pass pass ! with ||
10pass pass pass pass pass ! with { }
11pass pass pass pass pass ! with ( )
12pass pass pass pass pass ! is not a command
13pass pass pass BUG pass Evaluation of argv[0] in pipeline occurs in child
details

63 passed, 0 ok, 4 known unimplemented, 2 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

zsh2 Redirect in Pipeline

stdout:
1
stderr:
hi
dash4 PIPESTATUS

stdout:
stderr: 
/bin/dash: 2: Bad substitution
zsh4 PIPESTATUS

stdout:
stderr: 
dash5 |&

stdout:
stderr: 
/bin/dash: 1: Syntax error: "&" unexpected
mksh5 |&

stdout:
stderr: 
STDERR
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
osh5 |&

[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 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 563, in _Dispatch
    raise NotImplementedError('|&')
NotImplementedError: |&
zsh13 Evaluation of argv[0] in pipeline occurs in child

stdout:
1
cmd=echo
stderr: