xref: /freebsd-src/bin/sh/tests/errors/redirection-error5.0 (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1# A redirection error on a subshell should not abort the shell.
2exec 2>/dev/null
3( echo bad ) </var/empty/x
4exit 0
5