aboutsummaryrefslogtreecommitdiff
path: root/tests/quote
diff options
context:
space:
mode:
Diffstat (limited to 'tests/quote')
-rw-r--r--tests/quote/buildfile15
-rw-r--r--tests/quote/test.out5
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/quote/buildfile b/tests/quote/buildfile
index 19c2bfc..a2ebbe9 100644
--- a/tests/quote/buildfile
+++ b/tests/quote/buildfile
@@ -29,4 +29,19 @@ print "("foo bar")"
print "("$foo bar")"
print "("$foo ($bar)")"
+# Quoting and escaping/multiline.
+#
+print \
+"foo"\
+"bar"
+
+print \
+"foo\
+bar"
+
+print \
+"foo (fox \
+)
+bar"
+
./:
diff --git a/tests/quote/test.out b/tests/quote/test.out
index f5d7a71..af5b724 100644
--- a/tests/quote/test.out
+++ b/tests/quote/test.out
@@ -18,3 +18,8 @@ foo bar
foo bar
fo o bar
fo o bar
+foobar
+foo\
+bar
+foo fox
+bar