summaryrefslogtreecommitdiffstats
path: root/tools/regression/bin/sh/errors/redirection-error4.0
blob: 206097478e358e6b9b64400448fc2df6966a8ec7 (plain)
1
2
3
4
5
6
7
# $FreeBSD$
# A redirection error should not abort the shell if there is no command word.
exec 2>/dev/null
</var/empty/x
</var/empty/x y=2
y=2 </var/empty/x
exit 0
OpenPOWER on IntegriCloud