diff options
author | das <das@noemail.net> | 2008-03-12 01:25:12 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2008-03-12 01:25:12 (GMT) |
commit | 3e903dccafee5eaf4ee4bd093dd6c145f2994a27 (patch) | |
tree | 33f8497b3fa92a3b564b6b759460638fde82358f /tests/fCmd.test | |
parent | b20cb5c74cdc2d456cc104ece3e0c3fd9a94835e (diff) | |
download | tcl-3e903dccafee5eaf4ee4bd093dd6c145f2994a27.zip tcl-3e903dccafee5eaf4ee4bd093dd6c145f2994a27.tar.gz tcl-3e903dccafee5eaf4ee4bd093dd6c145f2994a27.tar.bz2 |
improve darwin9 constraint
FossilOrigin-Name: 6daa92a04c3d61749810462d2919dc3db0925296
Diffstat (limited to 'tests/fCmd.test')
-rw-r--r-- | tests/fCmd.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test index 073ead1..b6262ae 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.58 2008/03/11 22:22:56 das Exp $ +# RCS: @(#) $Id: fCmd.test,v 1.59 2008/03/12 01:25:13 das Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -38,7 +38,8 @@ if {[testConstraint unix]} { testConstraint darwin9 [expr {[testConstraint unix] && $tcl_platform(os) eq "Darwin" && - int([string index $tcl_platform(osVersion) 0]) >= 9}] + int([string range $tcl_platform(osVersion) 0 \ + [string first . $tcl_platform(osVersion)]]) >= 9}] testConstraint fileSharing 0 testConstraint notFileSharing 1 |