diff options
author | Steven Knight <knight@baldmt.com> | 2003-08-27 02:56:22 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-08-27 02:56:22 (GMT) |
commit | 4bc06f73db7d3edafabf4dc5677d8172b0e2e5f3 (patch) | |
tree | 0fc93b1daf62dcdd7893bbcc977cb73e8718693e /src/engine | |
parent | b9dfe8b36cfaed3823ddfaef5c89f83da80c7273 (diff) | |
download | SCons-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.py | 4 |
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]) |