Results for process-sub.test.sh

statusbashzshosh
pass 659
ok 010
N-I 330
total999
casebashzshoshdescription
0pass pass pass Process sub input
1pass pass pass Process sub from external process to stdin
2pass pass pass Process sub from shell to stdin
3pass pass pass Non-linear pipeline with >()
4pass ok pass $(<file) idiom with process sub
details
5N-I N-I pass status code is available
detailsdetails
6N-I N-I pass shopt -s process_sub_fail
detailsdetails
7N-I N-I pass process subs and pipelines together
detailsdetails
8pass pass pass process sub in background &
20 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-4.4: 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: