pipeline () { sh-spec spec/pipeline.test.sh ${REF_SHELLS[@]} $ZSH $OSH_LIST "$@" } pipeline: spec test case results

Results for pipeline.test.sh

statusdashbashmkshzshosh
pass 1622201822
ok 11101
N-I 70341
BUG 01020
total2424242424
casedashbashmkshzshoshdescription
0pass pass pass pass pass Brace group in pipeline
1pass pass pass pass pass For loop starts pipeline
2pass pass pass pass pass While Loop ends pipeline
3pass pass pass BUG pass Redirect in Pipeline
details
4pass pass pass pass pass Pipeline comments
5pass pass pass pass pass Exit code is last status
6N-I pass pass N-I pass PIPESTATUS
detailsdetails
7N-I pass pass N-I ok PIPESTATUS is set on simple commands, but NOT in OSH
detailsdetailsdetails
8N-I pass pass N-I pass PIPESTATUS with shopt -s lastpipe
detailsdetails
9N-I pass N-I pass N-I |&
detailsdetailsdetails
10pass pass pass pass pass ! turns non-zero into zero
11pass pass pass pass pass ! turns zero into 1
12pass pass pass pass pass ! in if
13pass pass pass pass pass ! with ||
14pass pass pass pass pass ! with { }
15pass pass pass pass pass ! with ( )
16pass pass pass pass pass ! is not a command
17pass pass pass BUG pass Evaluation of argv[0] in pipeline occurs in child
details
18ok ok ok pass pass bash/dash/mksh run the last command is run in its own process
detailsdetailsdetails
19N-I pass N-I pass pass shopt -s lastpipe (always on in OSH)
detailsdetails
20N-I pass N-I pass pass shopt -s lastpipe (always on in OSH)
detailsdetails
21N-I BUG pass N-I pass SIGPIPE causes pipeline to die (regression for issue #295)
detailsdetailsdetails
22pass pass pass pass pass Nested pipelines
23pass pass pass pass pass Pipeline in eval
98 passed, 4 OK, 15 not implemented, 3 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

zsh3 Redirect in Pipeline

stdout:
1
stderr:
hi
dash6 PIPESTATUS

stdout:
stderr: 
dash: 5: Bad substitution
zsh6 PIPESTATUS

stdout:
stderr: 
dash7 PIPESTATUS is set on simple commands, but NOT in OSH

stdout:
stderr: 
zsh7 PIPESTATUS is set on simple commands, but NOT in OSH

stdout:
stderr: 
osh7 PIPESTATUS is set on simple commands, but NOT in OSH

stdout:
pipestatus
stderr:
dash8 PIPESTATUS with shopt -s lastpipe

stdout:
stderr: 
dash: 1: shopt: not found
dash: 6: Bad substitution
zsh8 PIPESTATUS with shopt -s lastpipe

stdout:
stderr: 
zsh: command not found: shopt
dash9 |&

stdout:
stderr: 
dash: 1: Syntax error: "&" unexpected
mksh9 |&

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

stdout:
stderr: 
  stdout_stderr.py |& cat
                   ^~
[ stdin ]:1: fatal: |& isn't supported
zsh17 Evaluation of argv[0] in pipeline occurs in child

stdout:
1
cmd=echo
stderr:
dash18 bash/dash/mksh run the last command is run in its own process

stdout:
line=
stderr:
bash18 bash/dash/mksh run the last command is run in its own process

stdout:
line=
stderr:
mksh18 bash/dash/mksh run the last command is run in its own process

stdout:
line=
stderr:
dash19 shopt -s lastpipe (always on in OSH)

stdout:
line=
stderr:
dash: 1: shopt: not found
mksh19 shopt -s lastpipe (always on in OSH)

stdout:
line=
stderr:
mksh: <stdin>[1]: shopt: not found
dash20 shopt -s lastpipe (always on in OSH)

stdout:
i=0
stderr:
dash: 1: shopt: not found
dash: 4: i++: not found
dash: 4: i++: not found
dash: 4: i++: not found
mksh20 shopt -s lastpipe (always on in OSH)

stdout:
i=0
stderr:
mksh: <stdin>[1]: shopt: not found
dash21 SIGPIPE causes pipeline to die (regression for issue #295)

stdout:
stderr: 
cat: write error: Broken pipe
dash: 2: Bad substitution
bash21 SIGPIPE causes pipeline to die (regression for issue #295)

stdout:
1 0
stderr:
cat: write error: Broken pipe
zsh21 SIGPIPE causes pipeline to die (regression for issue #295)

stdout:
stderr: 
cat: write error: Broken pipe