diff options
author | Steven Knight <knight@baldmt.com> | 2002-02-14 07:23:47 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-02-14 07:23:47 (GMT) |
commit | 1deb322e0b048071129be8ad595892da3c1ecf48 (patch) | |
tree | 03686408f931d9c55d68e1235d8b3c8a14cdf787 /test/sconsign.py | |
parent | 8358209e2ccdf0f0a86c20e33401e8e26869f6c9 (diff) | |
download | SCons-1deb322e0b048071129be8ad595892da3c1ecf48.zip SCons-1deb322e0b048071129be8ad595892da3c1ecf48.tar.gz SCons-1deb322e0b048071129be8ad595892da3c1ecf48.tar.bz2 |
Fix new .sconsign file write-logic portability to Windows NT.
Diffstat (limited to 'test/sconsign.py')
-rw-r--r-- | test/sconsign.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/sconsign.py b/test/sconsign.py index ac6bf2f..396c399 100644 --- a/test/sconsign.py +++ b/test/sconsign.py @@ -59,10 +59,7 @@ sub2__sconsign = test.workpath('sub2', '.sconsign') test.write(sub1__sconsign, "") test.write(sub2__sconsign, "") -# For *NIX systems, make .sconsign not writable. -# For Win32 systems, open it to lock it. os.chmod(sub1__sconsign, 0444) -f = open(sub1__sconsign, 'r') test.run(arguments = '.') @@ -70,6 +67,5 @@ test.fail_test(test.read(sub1__sconsign) == "") test.fail_test(test.read(sub2__sconsign) == "") os.chmod(sub1__sconsign, 0666) -f.close() test.pass_test() |