Results for pipeline.test.sh

statusdashbashmkshzshoshosh_ALT
pass 141917162020
ok 111000
N-I 603311
BUG 010200
total212121212121
casedashbashmkshzshoshosh_ALTdescription
0pass pass pass pass pass pass Brace group in pipeline
1pass pass pass pass pass pass For loop starts pipeline
2pass pass pass pass pass pass While Loop ends pipeline
3pass pass pass BUG pass pass Redirect in Pipeline
details
4pass pass pass pass pass pass Pipeline comments
5pass pass pass pass pass pass Exit code is last status
6N-I pass pass N-I pass pass PIPESTATUS
detailsdetails
7N-I pass pass N-I pass pass PIPESTATUS with shopt -s lastpipe
detailsdetails
8N-I pass N-I pass N-I N-I |&
detailsdetailsdetailsdetails
9pass pass pass pass pass pass ! turns non-zero into zero
10pass pass pass pass pass pass ! turns zero into 1
11pass pass pass pass pass pass ! in if
12pass pass pass pass pass pass ! with ||
13pass pass pass pass pass pass ! with { }
14pass pass pass pass pass pass ! with ( )
15pass pass pass pass pass pass ! is not a command
16pass pass pass BUG pass pass Evaluation of argv[0] in pipeline occurs in child
details
17ok ok ok pass pass pass bash/dash/mksh run the last command is run in its own process
detailsdetailsdetails
18N-I pass N-I pass pass pass shopt -s lastpipe (always on in OSH)
detailsdetails
19N-I pass N-I pass pass pass shopt -s lastpipe (always on in OSH)
detailsdetails
20N-I BUG pass N-I pass pass SIGPIPE causes pipeline to die (regression for issue #295)
detailsdetailsdetails
106 passed, 3 OK, 14 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: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 5: Bad substitution
zsh6 PIPESTATUS

stdout:
stderr: 
dash7 PIPESTATUS with shopt -s lastpipe

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: shopt: not found
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 6: Bad substitution
zsh7 PIPESTATUS with shopt -s lastpipe

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

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: Syntax error: "&" unexpected
mksh8 |&

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

stdout:
stderr: 
  stdout_stderr.py |& cat
                   ^~
[ stdin ]:1: fatal: |& isn't supported
osh_ALT8 |&

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

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

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

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

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

stdout:
line=
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: shopt: not found
mksh18 shopt -s lastpipe (always on in OSH)

stdout:
line=
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found
dash19 shopt -s lastpipe (always on in OSH)

stdout:
i=0
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: shopt: not found
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: i++: not found
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: i++: not found
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: i++: not found
mksh19 shopt -s lastpipe (always on in OSH)

stdout:
i=0
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found
dash20 SIGPIPE causes pipeline to die (regression for issue #295)

stdout:
stderr: 
cat: write error: Broken pipe
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: Bad substitution
bash20 SIGPIPE causes pipeline to die (regression for issue #295)

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

stdout:
stderr: 
cat: write error: Broken pipe