summary refs log tree commit diff
path: root/bin/1sh/tests/errors/redirection-error8.0
blob: b6c2f4108db9cf247e2a584ce93fae7675e9ada8 (plain) (blame)
1
2
3
4
5
# $FreeBSD: releng/12.1/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 ]