summaryrefslogtreecommitdiff
path: root/t/chainlint/here-doc-double.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/here-doc-double.test')
-rw-r--r--t/chainlint/here-doc-double.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/chainlint/here-doc-double.test b/t/chainlint/here-doc-double.test
new file mode 100644
index 0000000000..777389f0d9
--- /dev/null
+++ b/t/chainlint/here-doc-double.test
@@ -0,0 +1,10 @@
+# This is obviously a ridiculous thing to do, but we should be able
+# to handle two here-docs on the same line, and attribute them
+# correctly.
+test_expect_success "$(cat <<END_OF_PREREQS)" 'here-doc-double' - <<\EOT
+SOME
+PREREQS
+END_OF_PREREQS
+ echo "actual test commands"
+ echo "that should be checked"
+EOT