t / chainlint / case.teston commit Merge branch 'ts/doc-build-manpage-xsl-quietly' into maint (7532a18)
   1(
   2# LINT: "...)" arms in 'case' not misinterpreted as subshell-closing ")"
   3        case "$x" in
   4        x) foo ;;
   5        *) bar ;;
   6        esac &&
   7        foobar
   8) &&
   9(
  10# LINT: missing "&&" on 'esac'
  11        case "$x" in
  12        x) foo ;;
  13        *) bar ;;
  14        esac
  15        foobar
  16) &&
  17(
  18# LINT: "...)" arm in one-liner 'case' not misinterpreted as closing ")"
  19        case "$x" in 1) true;; esac &&
  20# LINT: same but missing "&&"
  21        case "$y" in 2) false;; esac
  22        foobar
  23)