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