diff options
author | jenn <jenn> | 1999-07-01 17:36:17 (GMT) |
---|---|---|
committer | jenn <jenn> | 1999-07-01 17:36:17 (GMT) |
commit | cbc160d0d87b1efa3096c590343d0553633cb9cc (patch) | |
tree | 91c7ea1303cdb2c610ed9fab04bb7259d35d0953 /tests/load.test | |
parent | 4b2545f82897102c47126bae5016cc3ad08f0cc1 (diff) | |
download | tcl-cbc160d0d87b1efa3096c590343d0553633cb9cc.zip tcl-cbc160d0d87b1efa3096c590343d0553633cb9cc.tar.gz tcl-cbc160d0d87b1efa3096c590343d0553633cb9cc.tar.bz2 |
Changed the tests to use the testConstraints array that the
test harness uses instead of the old name (testConfig).
Diffstat (limited to 'tests/load.test')
-rw-r--r-- | tests/load.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/load.test b/tests/load.test index 72082c2..8bf8e0d 100644 --- a/tests/load.test +++ b/tests/load.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: load.test,v 1.5 1999/06/26 03:54:16 jenn Exp $ +# RCS: @(#) $Id: load.test,v 1.6 1999/07/01 17:36:18 jenn Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -31,12 +31,12 @@ set ext [info sharedlibextension] set testDir [file join [file dirname [info nameofexecutable]] dltest] set x [file join $testDir pkga$ext] set dll "[file tail $x]Required" -set ::tcltest::testConfig($dll) [file readable $x] +set ::tcltest::testConstraints($dll) [file readable $x] # Tests also require that this DLL has not already been loaded. set loaded "[file tail $x]Loaded" set alreadyLoaded [info loaded] -set ::tcltest::testConfig($loaded) \ +set ::tcltest::testConstraints($loaded) \ [expr {![string match *pkga* $alreadyLoaded]}] set alreadyTotalLoaded [info loaded] |