t / chainlint / exit-loop.expecton commit Merge tag 'v2.23.0-rc2' of git://git.kernel.org/pub/scm/git/git (d6d5cbf)
   1(
   2        for i in a b c
   3        do
   4                foo || exit 1
   5                bar &&
   6                baz
   7        done
   8>) &&
   9(
  10        while true
  11        do
  12                foo || exit 1
  13                bar &&
  14                baz
  15        done
  16>) &&
  17(
  18        i=0 &&
  19        while test $i -lt 10
  20        do
  21                echo $i || exit
  22                i=$(($i + 1))
  23        done
  24>)