diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-16 14:28:47 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-16 14:28:47 (GMT) |
commit | fe22db4eda2ba0aca32232f210b10c6a3caed7dd (patch) | |
tree | 04f358d6affeab89aff5d78ec11208ce3b530e72 /tests | |
parent | 01279acc11a7ba28071cea16c9b2cddbe15cf34f (diff) | |
download | tcl-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.test | 7 |
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 |