aboutsummaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-09-13 20:47:58 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-09-27 18:04:30 +0300
commit28d1791e2dc66cc610468deb29ea030e28d0793c (patch)
treece740bad52aa15506dfeed5075771d137c3234dd /tests/test
parentdbed808c7d534069f76e63a1a68a85f30d2be81c (diff)
Add support for testscript builtin escaping
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test/script/runner/expr.testscript20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test/script/runner/expr.testscript b/tests/test/script/runner/expr.testscript
index fd9c643..56747a4 100644
--- a/tests/test/script/runner/expr.testscript
+++ b/tests/test/script/runner/expr.testscript
@@ -522,3 +522,23 @@
info: test id: 1
EOE
}
+
+: escape-builtin
+:
+if ($cxx.target.class == 'linux')
+{
+ $c <<EOI && $b
+ cat <<EOF >=f;
+ x
+
+
+ y
+ EOF
+
+ ^cat --squeeze-blank f >>EOO
+ x
+
+ y
+ EOO
+ EOI
+}