Start the 2.48 cycle
[alt-git.git] / t / chainlint / if-then-else.expect
blob924caa2e4eaa10e74d60b101cbad237ec963372f
1 2 (
2 3       if test -n ""
3 4       then
4 5               echo very ?!LINT: missing '&&'?!
5 6               echo empty
6 7       elif test -z ""
7 8       then
8 9               echo foo
9 10      else
10 11              echo foo &&
11 12              cat <<-\EOF
12 13              bar
13 14              EOF
14 15      fi ?!LINT: missing '&&'?!
15 16      echo poodle
16 17 ) &&
17 18 (
18 19      if test -n ""; then
19 20              echo very &&
20 21              echo empty
21 22      fi
22 23 )