about summary refs log blame commit diff
path: root/third_party/git/t/chainlint/exit-loop.expect
blob: 84d8bdebc02660d3a4ad0aeb341a9f991547b46c (plain) (tree)























                               
(
	for i in a b c
	do
		foo || exit 1
		bar &&
		baz
	done
>) &&
(
	while true
	do
		foo || exit 1
		bar &&
		baz
	done
>) &&
(
	i=0 &&
	while test $i -lt 10
	do
		echo $i || exit
		i=$(($i + 1))
	done
>)