|
1
|
test_expect_success 'here-doc-body-pathological' - <<\EOF |
|
2
|
echo "outer here-doc does not allow indented end-tag" |
|
3
|
cat >file <<-\EOF && |
|
4
|
but this inner here-doc |
|
5
|
does allow indented EOF |
|
6
|
EOF |
|
7
|
echo "missing chain after" |
|
8
|
echo "but this line is OK because it's the end" |
|
9
|
EOF |