]> git.ipfire.org Git - thirdparty/git.git/blame - t/chainlint/subshell-here-doc.test
Merge branch 'gc/branch-recurse-submodules-fix'
[thirdparty/git.git] / t / chainlint / subshell-here-doc.test
CommitLineData
7b906790
ES
1(
2# LINT: stitch together incomplete \-ending lines
3# LINT: swallow here-doc to avoid false positives in content
4 echo wobba \
5 gorgo snoot \
6 wafta snurb <<-EOF &&
7 quoth the raven,
8 nevermore...
9 EOF
10
5459bc1b 11# LINT: missing "&&" on "cat"
7b906790
ES
12 cat <<EOF >bip
13 fish fly high
925d7304 14EOF
7b906790
ES
15
16# LINT: swallow here-doc (EOF is last line of subshell)
17 echo <<-\EOF >bop
18 gomez
19 morticia
20 wednesday
21 pugsly
22 EOF
c2c29cc0
ES
23) &&
24(
25# LINT: swallow here-doc with arbitrary tag
26 cat <<-\ARBITRARY >bup &&
27 glink
28 FIZZ
29 ARBITRARY
3042b6bb
ES
30 cat <<-"ARBITRARY3" >bup3 &&
31 glink
32 FIZZ
33 ARBITRARY3
c2c29cc0 34 meep
7b906790 35)