summary refs log tree commit diff
path: root/bin/1sh/tests/errors/redirection-error5.0
blob: 72bc9867b1e8e80873235c3cde32efe3c30b94e3 (plain) (blame)
1
2
3
4
5
# $FreeBSD: releng/12.1/bin/sh/tests/errors/redirection-error5.0 205153 2010-03-14 13:51:12Z jilles $
# A redirection error on a subshell should not abort the shell.
exec 2>/dev/null
( echo bad ) </var/empty/x
exit 0