summaryrefslogtreecommitdiff
path: root/t/chainlint/if-then-else.expect
blob: a80f5e6c75f73a8c6972f1acccfa9157749b4829 (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
?!AMP?!		echo very
		echo empty
	elif test -z ""
	then
		echo foo
	else
		echo foo &&
		cat
?!AMP?!	fi
	echo poodle
>) &&
(
	if test -n ""; then
		echo very &&
		echo empty
	fi
>)