summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/winFile.test10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/winFile.test b/tests/winFile.test
index 1bfddff..65c531f 100644
--- a/tests/winFile.test
+++ b/tests/winFile.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: winFile.test,v 1.14 2004/06/23 15:36:59 dkf Exp $
+# RCS: @(#) $Id: winFile.test,v 1.15 2004/11/07 20:56:29 davygrvy Exp $
if {[catch {package require tcltest 2.0.2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2.0.2 required."
@@ -26,6 +26,12 @@ if {[info commands ::testvolumetype] == ""} {
} else {
tcltest::testConstraint notNTFS 1
}
+ if {[string equal $::tcl_platform(os) "Windows NT"] &&
+ $::tcl_platform(osVersion) >= 5.0} {
+ tcltest::testConstraint win2K+ 1
+ } else {
+ tcltest::testConstraint win2K+ 0
+ }
}
test winFile-1.1 {TclpGetUserHome} {win} {
@@ -160,7 +166,7 @@ close [open $fname w]
test winFile-4.0 {
Enhanced NTFS user/group permissions: test no acccess
} -constraints {
- win nt notNTFS
+ win nt notNTFS win2K+
} -setup {
set owner [getuser $fname]
set user $::env(USERDOMAIN)\\$::env(USERNAME)