xref: /freebsd-src/bin/sh/tests/errors/redirection-error4.0 (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1# A redirection error should not abort the shell if there is no command word.
2exec 2>/dev/null
3</var/empty/x
4</var/empty/x y=2
5y=2 </var/empty/x
6exit 0
7