summaryrefslogtreecommitdiffstats
path: root/tests/tcltest.test
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2009-11-10 22:32:38 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2009-11-10 22:32:38 (GMT)
commit9583d3790107a8b094e98be8b587b484eed858c3 (patch)
treeacd982f45df30f67b0cf223361d0c390177c3f4a /tests/tcltest.test
parent20e02f9ded385a388606c860b9fd95ba799bde09 (diff)
downloadtcl-9583d3790107a8b094e98be8b587b484eed858c3.zip
tcl-9583d3790107a8b094e98be8b587b484eed858c3.tar.gz
tcl-9583d3790107a8b094e98be8b587b484eed858c3.tar.bz2
Fixed a number of test issues for Vista and Win7.
These test failures are due to the more restrictive permissions on the newer versions of Windows.
Diffstat (limited to 'tests/tcltest.test')
-rwxr-xr-xtests/tcltest.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tcltest.test b/tests/tcltest.test
index c40826b..eabc39a 100755
--- a/tests/tcltest.test
+++ b/tests/tcltest.test
@@ -6,7 +6,7 @@
# Copyright (c) 2000 by Ajuba Solutions
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.test,v 1.37.2.11 2006/03/19 22:47:30 vincentdarley Exp $
+# RCS: @(#) $Id: tcltest.test,v 1.37.2.12 2009/11/10 22:32:39 patthoyts Exp $
# Note that there are several places where the value of
# tcltest::currentFailure is stored/reset in the -setup/-cleanup
@@ -690,6 +690,7 @@ switch $tcl_platform(platform) {
file attributes $notWriteableDir -permissions 777
}
default {
+ catch {testchmod 777 $notWriteableDir}
catch {file attributes $notWriteableDir -readonly 0}
}
}