summaryrefslogtreecommitdiff
path: root/t/chainlint/if-then-else.expect
blob: 44d86c35976ce1957aa0b4fb90f6b7e31f230d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(
	if test -n ""
	then
		echo very ?!AMP?!
		echo empty
	elif test -z ""
	then
		echo foo
	else
		echo foo &&
		cat <<-EOF
	fi ?!AMP?!
	echo poodle
) &&
(
	if test -n ""; then
		echo very &&
		echo empty
	fi
)