chainlint: match 'quoted' here-doc tags
[gitweb.git] / t / chainlint / subshell-here-doc.test
index 9c3564c247e0d15e96a13e1092f848d301a828a5..b6b5a9b33aac57156df37da5b3bc420baab78796 100644 (file)
        wednesday
        pugsly
        EOF
+) &&
+(
+# LINT: swallow here-doc with arbitrary tag
+       cat <<-\ARBITRARY >bup &&
+       glink
+       FIZZ
+       ARBITRARY
+       cat <<-'ARBITRARY2' >bup2 &&
+       glink
+       FIZZ
+       ARBITRARY2
+       meep
 )