summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-09-20 01:07:39 (GMT)
committerSteven Knight <knight@baldmt.com>2008-09-20 01:07:39 (GMT)
commit4c32c546aedd78e8f23508a3b4c1d58126598a96 (patch)
tree9ec96786ade06624696beeaa93fbd6a8364a34f5 /test
parent4edc63a976399fc771c2e86a7c8fa2e420676185 (diff)
downloadSCons-4c32c546aedd78e8f23508a3b4c1d58126598a96.zip
SCons-4c32c546aedd78e8f23508a3b4c1d58126598a96.tar.gz
SCons-4c32c546aedd78e8f23508a3b4c1d58126598a96.tar.bz2
Windows portability: escape strings with file path names, which
have \ separators on Windows.
Diffstat (limited to 'test')
-rw-r--r--test/ExecuteInvalidateCache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecuteInvalidateCache.py b/test/ExecuteInvalidateCache.py
index aad12e4..9c328a7 100644
--- a/test/ExecuteInvalidateCache.py
+++ b/test/ExecuteInvalidateCache.py
@@ -69,10 +69,10 @@ exists( n2 )
Execute(Copy('abc', 'def'))
exists( n1 )
-n3 = File("%(subfn)s")
+n3 = File(r"%(subfn)s")
exists( n3 )
Execute(Mkdir('sub'))
-Execute(Touch("%(subfn)s"))
+Execute(Touch(r"%(subfn)s"))
exists( n3 )
""" % locals())