From: stevenknight Date: Sat, 20 Sep 2008 01:07:39 +0000 (+0000) Subject: Windows portability: escape strings with file path names, which X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78e31c013d1d39a6c78d0581fcf8dc3a65d0b93c;p=scons.git Windows portability: escape strings with file path names, which have \ separators on Windows. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3440 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/test/ExecuteInvalidateCache.py b/test/ExecuteInvalidateCache.py index aad12e44..9c328a73 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())