aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script')
-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
+}