Results for process-sub.test.sh

statusbashzshoshosh_ALT
pass 6599
ok 0100
N-I 3300
total9999
casebashzshoshosh_ALTdescription
0pass pass pass pass Process sub input
1pass pass pass pass Process sub from external process to stdin
2pass pass pass pass Process sub from shell to stdin
3pass pass pass pass Non-linear pipeline with >()
4pass ok pass pass $(<file) idiom with process sub
details
5N-I N-I pass pass status code is available
detailsdetails
6N-I N-I pass pass shopt -s process_sub_fail
detailsdetails
7N-I N-I pass pass process subs and pipelines together
detailsdetails
8pass pass pass pass process sub in background &
29 passed, 1 OK, 6 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

zsh4 $(<file) idiom with process sub

stdout:
FOO
foo
FOO
hi
stderr:
bash5 status code is available

stdout:
1
2
1
2
3
stderr:
bash: line 1: shopt: --: invalid option
shopt: usage: shopt [-pqsu] [-o] [optname ...]
zsh5 status code is available

stdout:
1
2
1
2
3
stderr:
zsh: command not found: shopt
bash6 shopt -s process_sub_fail

stdout:
stderr: 
zsh6 shopt -s process_sub_fail

stdout:
stderr: 
bash7 process subs and pipelines together

stdout:
stderr: 
zsh7 process subs and pipelines together

stdout:
stderr: