sh: Add test for r222173.

This commit is contained in:
Jilles Tjoelker 2011-05-22 12:15:14 +00:00
parent c9e93e6739
commit 4d79e0296a

View File

@ -0,0 +1,12 @@
# $FreeBSD$
v=abcd
v=$v$v$v$v
v=$v$v$v$v
v=$v$v$v$v
v=$v$v$v$v
v=$v$v$v$v
r=$( (
trap 'exit 0' 0
. "$v"
) 2>&1 >/dev/null) && [ -n "$r" ]