sh: Add test for 332546d32a797c819b3a1804e66be73417674ff1.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 25 Dec 2011 17:45:20 +0000 (09:45 -0800)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 25 Dec 2011 17:45:20 +0000 (09:45 -0800)
Obtained-from:  FreeBSD 222174

tools/regression/bin/sh/builtins/dot4.0 [new file with mode: 0644]

diff --git a/tools/regression/bin/sh/builtins/dot4.0 b/tools/regression/bin/sh/builtins/dot4.0
new file mode 100644 (file)
index 0000000..1c8467c
--- /dev/null
@@ -0,0 +1,12 @@
+# $FreeBSD: src/tools/regression/bin/sh/builtins/dot4.0,v 1.1 2011/05/22 12:15:14 jilles Exp $
+
+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" ]