summary refs log tree commit diff
path: root/bin/cash/tests/builtins/dot4.0
blob: 2b9e86ea8c8567902e3a16e551f75965d9eb8293 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/dot4.0 222174 2011-05-22 12:15:14Z jilles $

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" ]