summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/FSTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-10-18 01:09:14 (GMT)
committerSteven Knight <knight@baldmt.com>2002-10-18 01:09:14 (GMT)
commit24f95ab2762edefba6fc7afd3a302c2d2d69c5e1 (patch)
treebc7cea9cfb1f13a66da2c59c652d170ee8d498ad /src/engine/SCons/Node/FSTests.py
parentbd91e792df09aebec78f7972e17eab873dc71246 (diff)
downloadSCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.zip
SCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.tar.gz
SCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.tar.bz2
Win32 test portability.
Diffstat (limited to 'src/engine/SCons/Node/FSTests.py')
-rw-r--r--src/engine/SCons/Node/FSTests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py
index 0c7bd69..1610ec6 100644
--- a/src/engine/SCons/Node/FSTests.py
+++ b/src/engine/SCons/Node/FSTests.py
@@ -194,7 +194,7 @@ class BuildDirTestCase(unittest.TestCase):
# But we do have a file in the Repository
assert f3.rexists()
# rfile() should point to the source path
- assert f3.rfile().path == test.workpath('rep1/src/test2.in'),\
+ assert f3.rfile().path == os.path.normpath(test.workpath('rep1/src/test2.in')),\
f3.rfile().path
assert f4.srcnode().path == os.path.normpath('src/test2.in'),\
@@ -228,12 +228,12 @@ class BuildDirTestCase(unittest.TestCase):
assert not f7.exists()
assert f7.rexists()
- assert f7.rfile().path == test.workpath('rep1/build/var1/test2.out'),\
+ assert f7.rfile().path == os.path.normpath(test.workpath('rep1/build/var1/test2.out')),\
f7.rfile().path
assert not f8.exists()
assert f8.rexists()
- assert f8.rfile().path == test.workpath('rep1/build/var2/test2.out'),\
+ assert f8.rfile().path == os.path.normpath(test.workpath('rep1/build/var2/test2.out')),\
f8.rfile().path
# Test to see if file_link() works...