aboutsummaryrefslogtreecommitdiff
path: root/tests/variable
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-24 14:49:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-24 14:52:55 +0200
commitda2bd25f0867a54a3b797815b24e44a130ac2b11 (patch)
tree512648ad685485c1d79468f49c14121c1815bec3 /tests/variable
parent532e2085deeddd3e94cfbee1ded1e5917aff2b59 (diff)
Only treat name as directory if it is reversible
Diffstat (limited to 'tests/variable')
-rw-r--r--tests/variable/representation/buildfile6
-rw-r--r--tests/variable/representation/test.out6
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/variable/representation/buildfile b/tests/variable/representation/buildfile
index 22913d5..7a2c3f2 100644
--- a/tests/variable/representation/buildfile
+++ b/tests/variable/representation/buildfile
@@ -2,6 +2,12 @@
#
val = -L/
val += -L/foo/
+val += ..
+val += ../
+val += /
+val += //
+val += ///
+val += //foo/
#val += dir{-L/}
val += foo%bar
diff --git a/tests/variable/representation/test.out b/tests/variable/representation/test.out
index af12c6f..04d8528 100644
--- a/tests/variable/representation/test.out
+++ b/tests/variable/representation/test.out
@@ -1,5 +1,11 @@
'-L/'
'-L/foo/'
+'..'
+'../'
+'/'
+'//'
+'///'
+'//foo/'
'foo%bar'
'foo%'
'%bar'