aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/variable/representation/buildfile8
-rw-r--r--tests/variable/representation/test.out8
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/variable/representation/buildfile b/tests/variable/representation/buildfile
index 7a2c3f2..8410c96 100644
--- a/tests/variable/representation/buildfile
+++ b/tests/variable/representation/buildfile
@@ -10,12 +10,20 @@ val += ///
val += //foo/
#val += dir{-L/}
+# Note that this is "reversed" when we assign it to test.options
+# since that variable is of type strings.
+#
+val += foo@bar foo/@bar/ foo@ @bar @ "@@"
+
val += foo%bar
val += foo%
val += %bar
val += foo%{bar}
#val += foo%file{x}
+val += x%foo@y%bar
+val += x%foo/@y%bar/
+
using cxx
cxx.ext = cxx
diff --git a/tests/variable/representation/test.out b/tests/variable/representation/test.out
index 04d8528..84e7250 100644
--- a/tests/variable/representation/test.out
+++ b/tests/variable/representation/test.out
@@ -6,7 +6,15 @@
'//'
'///'
'//foo/'
+'foo@bar'
+'foo/@bar/'
+'foo@'
+'@bar'
+'@'
+'@@'
'foo%bar'
'foo%'
'%bar'
'foo%bar'
+'x%foo@y%bar'
+'x%foo/@y%bar/'