t / chainlint / if-in-loop.teston commit tests: send "bug in the test script" errors to the script's stderr (165293a)
   1(
   2        for i in a b c
   3        do
   4                if false
   5                then
   6# LINT: missing "&&" on 'echo'
   7                        echo "err"
   8                        exit 1
   9# LINT: missing "&&" on 'fi'
  10                fi
  11                foo
  12# LINT: missing "&&" on 'done'
  13        done
  14        bar
  15)