summaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/errors/redirection-error8.0
blob: 97364acdc3d5b1941bd61ccca1f2cd3f20f9464c (plain) (blame)
1
2
3
4
5
# $FreeBSD: head/bin/sh/tests/errors/redirection-error8.0 319575 2017-06-04 20:52:55Z jilles $

$SH -c '{ { :; } </var/empty/x; } 2>/dev/null || kill -INT $$; echo continued'
r=$?
[ "$r" -gt 128 ] && [ "$(kill -l "$r")" = INT ]