diff options
author | jenn <jenn> | 1999-06-26 03:54:09 (GMT) |
---|---|---|
committer | jenn <jenn> | 1999-06-26 03:54:09 (GMT) |
commit | c750824920529a5930ca3a8c4301a9cf9c45d6a4 (patch) | |
tree | 475011f75181f78a0a48f3360124d7e98188018e /tests/autoMkindex.test | |
parent | f95999e4e240586c6002c721425f7b17e84f3637 (diff) | |
download | tcl-c750824920529a5930ca3a8c4301a9cf9c45d6a4.zip tcl-c750824920529a5930ca3a8c4301a9cf9c45d6a4.tar.gz tcl-c750824920529a5930ca3a8c4301a9cf9c45d6a4.tar.bz2 |
Modified the tests to use the package tcltest
Diffstat (limited to 'tests/autoMkindex.test')
-rw-r--r-- | tests/autoMkindex.test | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/autoMkindex.test b/tests/autoMkindex.test index 452eed6..b034077 100644 --- a/tests/autoMkindex.test +++ b/tests/autoMkindex.test @@ -9,15 +9,17 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: autoMkindex.test,v 1.5 1999/04/16 00:47:23 stanton Exp $ +# RCS: @(#) $Id: autoMkindex.test,v 1.6 1999/06/26 03:54:10 jenn Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { - source [file join [pwd] [file dirname [info script]] defs.tcl] + package require tcltest + namespace import ::tcltest::* } -# temporarily copy the autoMkindex.tcl file from testsDir to tmpDir -set origMkindexFile [file join $::tcltest::testsDir autoMkindex.tcl] -set newMkindexFile [file join $::tcltest::workingDir autoMkindex.tcl] +# temporarily copy the autoMkindex.tcl file from testsDirectory to +# temporaryDirectory +set origMkindexFile [file join $::tcltest::testsDirectory autoMkindex.tcl] +set newMkindexFile [file join $::tcltest::temporaryDirectory autoMkindex.tcl] if {![catch {file copy $origMkindexFile $newMkindexFile}]} { set removeAutoMkindex 1 } |