aboutsummaryrefslogtreecommitdiff
path: root/unit-tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-20 15:07:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:33 +0200
commitcf4af1e966c5f005d5cb4b4080a9e11c106982bd (patch)
tree07dde02c35d96c2d08a64eb058b18f72fca2baf4 /unit-tests
parent62436ec452ea4453fdffc7cda2c7bfcdcbdd5a71 (diff)
Change all testscript expansions to simple name mode
Diffstat (limited to 'unit-tests')
-rw-r--r--unit-tests/test/script/parser/expansion.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/expansion.test b/unit-tests/test/script/parser/expansion.test
new file mode 100644
index 0000000..c23d598
--- /dev/null
+++ b/unit-tests/test/script/parser/expansion.test
@@ -0,0 +1,13 @@
+# Make sure everything expanded as strings.
+#
+
+# quote
+#
+$* <<EOI >>EOO
+x = dir/ proj% proj%name proj%proj%dir/type{name name {name}}
+cmd dir/ proj% proj%name proj%proj%dir/type{name name {name}}
+cmd \$x
+EOI
+cmd dir/ proj% proj%name proj%proj%dir/type{name name {name}}
+cmd dir/ proj% proj%name proj%proj%dir/type{name name {name}}
+EOO