summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-16 14:28:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-16 14:28:47 (GMT)
commitfe22db4eda2ba0aca32232f210b10c6a3caed7dd (patch)
tree04f358d6affeab89aff5d78ec11208ce3b530e72 /tests
parent01279acc11a7ba28071cea16c9b2cddbe15cf34f (diff)
downloadtcl-fe22db4eda2ba0aca32232f210b10c6a3caed7dd.zip
tcl-fe22db4eda2ba0aca32232f210b10c6a3caed7dd.tar.gz
tcl-fe22db4eda2ba0aca32232f210b10c6a3caed7dd.tar.bz2
[testConstraint winVista] should be true on Windows 10 too
Diffstat (limited to 'tests')
-rw-r--r--tests/fCmd.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test
index ab0d21d..046fa17 100644
--- a/tests/fCmd.test
+++ b/tests/fCmd.test
@@ -65,11 +65,12 @@ if {[testConstraint unix]} {
}
# Also used in winFCmd...
-if {[testConstraint win]} {
- if {[testConstraint nt] && $::tcl_platform(osVersion) >= 5.0} {
+if {[testConstraint win] && [testConstraint nt]} {
+ if {$::tcl_platform(osVersion) >= 5.0} {
if {$::tcl_platform(osVersion) >= 10.0} {
testConstraint win10 1
- } elseif {$::tcl_platform(osVersion) >= 6.0} {
+ }
+ if {$::tcl_platform(osVersion) >= 6.0} {
testConstraint winVista 1
} else {
testConstraint win2000orXP 1