From da2bd25f0867a54a3b797815b24e44a130ac2b11 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Aug 2015 14:49:10 +0200 Subject: Only treat name as directory if it is reversible --- tests/variable/representation/buildfile | 6 ++++++ tests/variable/representation/test.out | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'tests') 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' -- cgit v1.1