diff options
author | dgp <dgp@users.sourceforge.net> | 2002-06-22 04:19:46 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-06-22 04:19:46 (GMT) |
commit | a96389c630f566cd60a1801a00ce9cbd49de6246 (patch) | |
tree | afe75aae3aa2396f2b275820237a6af00d65858c /tests/fCmd.test | |
parent | 03ba5cac868e4b5a001d9f84df871d377d89f1c5 (diff) | |
download | tcl-a96389c630f566cd60a1801a00ce9cbd49de6246.zip tcl-a96389c630f566cd60a1801a00ce9cbd49de6246.tar.gz tcl-a96389c630f566cd60a1801a00ce9cbd49de6246.tar.bz2 |
* Corrections to tcltest and the Tcl test suite so that a test
with options -constraints knownBug -limitConstraints 1 only tests
the knownBug tests. Mostly involves replacing direct access to the
testConstraints array with calls to the testConstraint command
(which requires tcltest version 2).
Diffstat (limited to 'tests/fCmd.test')
-rw-r--r-- | tests/fCmd.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test index 964f31d..94db157 100644 --- a/tests/fCmd.test +++ b/tests/fCmd.test @@ -10,11 +10,11 @@ # 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.14 2002/06/21 14:22:29 vincentdarley Exp $ +# RCS: @(#) $Id: fCmd.test,v 1.15 2002/06/22 04:19:47 dgp Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest + package require tcltest 2 namespace import -force ::tcltest::* } @@ -2140,14 +2140,14 @@ test fCmd-27.4 {TclFileAttrsCmd - getting one option} { # Find a group that exists on this Unix system, or else skip tests that # require Unix groups. if {$tcl_platform(platform) == "unix"} { - set ::tcltest::testConstraints(foundGroup) 0 + ::tcltest::testConstraint foundGroup 0 catch { set groupList [exec groups] set group [lindex $groupList 0] - set ::tcltest::testConstraints(foundGroup) 1 + ::tcltest::testConstraint foundGroup 1 } } else { - set ::tcltest::testConstraints(foundGroup) 1 + ::tcltest::testConstraint foundGroup 1 } test fCmd-27.5 {TclFileAttrsCmd - setting one option} {foundGroup} { |