sh: Sync with FreeBSD:
[dragonfly.git] / tools / regression / bin / sh / errors / redirection-error4.0
1 # $FreeBSD: head/tools/regression/bin/sh/errors/redirection-error4.0 205138 2010-03-13 22:53:17Z jilles $
2 # A redirection error should not abort the shell if there is no command word.
3 exec 2>/dev/null
4 </var/empty/x
5 </var/empty/x y=2
6 y=2 </var/empty/x
7 exit 0