summaryrefslogtreecommitdiffstats
path: root/t/chainlint/while-loop.expect
blob: 06c1567f481e8cbc21cf50fdf58bfb9a502d439e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(
	while true
	do
		echo foo ?!AMP?!
		cat <<-\EOF ?!LOOP?!
		bar
		EOF
	done ?!AMP?!

	while true; do
		echo foo &&
		cat bar ?!LOOP?!
	done
)