summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-08-27 02:56:22 (GMT)
committerSteven Knight <knight@baldmt.com>2003-08-27 02:56:22 (GMT)
commit4bc06f73db7d3edafabf4dc5677d8172b0e2e5f3 (patch)
tree0fc93b1daf62dcdd7893bbcc977cb73e8718693e /src/engine
parentb9dfe8b36cfaed3823ddfaef5c89f83da80c7273 (diff)
downloadSCons-4bc06f73db7d3edafabf4dc5677d8172b0e2e5f3.zip
SCons-4bc06f73db7d3edafabf4dc5677d8172b0e2e5f3.tar.gz
SCons-4bc06f73db7d3edafabf4dc5677d8172b0e2e5f3.tar.bz2
Re-synchronize the CVS tree after a SourceForge file system catastrophe.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Node/FSTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py
index 17d037d..ded5e9a 100644
--- a/src/engine/SCons/Node/FSTests.py
+++ b/src/engine/SCons/Node/FSTests.py
@@ -476,7 +476,7 @@ class BuildDirTestCase(unittest.TestCase):
SCons.Node.FS.Link(fs.File(test.workpath('build/foo')),
fs.File(test.workpath('src/foo')),
None)
- os.chmod(test.workpath('src/foo'), ~stat.S_IRUSR)
+ os.chmod(test.workpath('src/foo'), stat.S_IRUSR | stat.S_IWRITE)
finally:
test.unlink( "src/foo" )
test.unlink( "build/foo" )
@@ -1080,7 +1080,7 @@ class FSTestCase(unittest.TestCase):
y = fs.File('dir/y')
t = y.target_from_source('pre-', '-suf')
- assert str(t) == 'dir/pre-y-suf', str(t)
+ assert str(t) == os.path.join('dir', 'pre-y-suf'), str(t)
z = fs.File('zz')
t = z.target_from_source('pre-', '-suf', lambda x: x[:-1])