about summary refs log tree commit diff
path: root/t/chainlint/if-then-else.expect
blob: 5953c7bfbc2e792af695f1f711ea06662a61dcb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(
	if test -n ""
	then
?!AMP?!		echo very
		echo empty
	elif test -z ""
		echo foo
	else
		echo foo &&
		cat
?!AMP?!	fi
	echo poodle
>) &&
(
	if test -n ""; then
		echo very &&
?!AMP?!		echo empty
	if
>)