diff options
author | Steven Knight <knight@baldmt.com> | 2002-11-12 04:24:15 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-11-12 04:24:15 (GMT) |
commit | 6a9cd3a308b6aa70d0fbaa7bb32e5a3c8fd32052 (patch) | |
tree | 4a34ebd34c3d15b05b322e099e4825c901e503b0 /src/engine/SCons/Node/FSTests.py | |
parent | 8dbe61168174137944a5bc55ea5a9ff389336376 (diff) | |
download | SCons-6a9cd3a308b6aa70d0fbaa7bb32e5a3c8fd32052.zip SCons-6a9cd3a308b6aa70d0fbaa7bb32e5a3c8fd32052.tar.gz SCons-6a9cd3a308b6aa70d0fbaa7bb32e5a3c8fd32052.tar.bz2 |
Arrange for local copies of files in build/ so the Aegis build will continue to work.
Diffstat (limited to 'src/engine/SCons/Node/FSTests.py')
-rw-r--r-- | src/engine/SCons/Node/FSTests.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py index 8f9f5e4..9e6e095 100644 --- a/src/engine/SCons/Node/FSTests.py +++ b/src/engine/SCons/Node/FSTests.py @@ -631,6 +631,15 @@ class FSTestCase(unittest.TestCase): f1.prepare() assert not os.path.exists(test.workpath("remove_me")) + e = fs.Entry('e_local') + assert not hasattr(e, '_local') + e.set_local() + assert e._local == 1 + f = fs.File('e_local') + assert f._local == 1 + f = fs.File('f_local') + assert f._local == 0 + #XXX test current() for directories #XXX test sconsign() for directories |