t/chainlint: add chainlint "loop" and "conditional" test cases
[git.git] / t / chainlint / exit-loop.expect
blob84d8bdebc02660d3a4ad0aeb341a9f991547b46c
2         for i in a b c
3         do
4                 foo || exit 1
5                 bar &&
6                 baz
7         done
8 >) &&
10         while true
11         do
12                 foo || exit 1
13                 bar &&
14                 baz
15         done
16 >) &&
18         i=0 &&
19         while test $i -lt 10
20         do
21                 echo $i || exit
22                 i=$(($i + 1))
23         done