diff options
author | dgp <dgp@users.sourceforge.net> | 2009-11-23 20:36:30 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-11-23 20:36:30 (GMT) |
commit | 82d65817f8ee6263a2d59d1f3e02a5c328d1372f (patch) | |
tree | eeb93e5c8ba76bb20bcb348532a53e885171a9db /tests/fCmd.test | |
parent | 1e53451f28489099ede27c46d8672b7281e44614 (diff) | |
download | tcl-82d65817f8ee6263a2d59d1f3e02a5c328d1372f.zip tcl-82d65817f8ee6263a2d59d1f3e02a5c328d1372f.tar.gz tcl-82d65817f8ee6263a2d59d1f3e02a5c328d1372f.tar.bz2 |
Test constraint 2000orNewer should only be true on Windows platform
Diffstat (limited to 'tests/fCmd.test')
-rw-r--r-- | tests/fCmd.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test index 839d0fd..9f588e4 100644 --- a/tests/fCmd.test +++ b/tests/fCmd.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: fCmd.test,v 1.67 2009/11/23 20:17:36 nijtmans Exp $ +# RCS: @(#) $Id: fCmd.test,v 1.68 2009/11/23 20:36:30 dgp Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -26,7 +26,7 @@ testConstraint winOlderThan2000 0 # Don't know how to determine this constraint correctly testConstraint notNetworkFilesystem 0 testConstraint 95or98 [expr {[testConstraint 95] || [testConstraint 98]}] -testConstraint 2000orNewer [expr {![testConstraint 95or98]}] +testConstraint 2000orNewer [expr {[testConstraint win] && ![testConstraint 95or98]}] testConstraint reg 0 if {[testConstraint win]} { catch { |