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