2 # A redirection error on a compound command should not abort the shell.
4 { echo bad; } </var/empty/x
5 if :; then echo bad; fi </var/empty/x
6 for i in 1; do echo bad; done </var/empty/x
8 while [ $i = 0 ]; do echo bad; i=1; done </var/empty/x
10 until [ $i != 0 ]; do echo bad; i=1; done </var/empty/x
11 case i in *) echo bad ;; esac </var/empty/x