summaryrefslogtreecommitdiffstats
path: root/tests/autoMkindex.test
diff options
context:
space:
mode:
authorjenn <jenn@noemail.net>1999-06-26 03:54:08 (GMT)
committerjenn <jenn@noemail.net>1999-06-26 03:54:08 (GMT)
commit368f4dccfb832cfeccd72c5379cef277e11b1cff (patch)
tree475011f75181f78a0a48f3360124d7e98188018e /tests/autoMkindex.test
parent7975fde3c2e132a9ee1d6495ae2db10c74c56066 (diff)
downloadtcl-368f4dccfb832cfeccd72c5379cef277e11b1cff.zip
tcl-368f4dccfb832cfeccd72c5379cef277e11b1cff.tar.gz
tcl-368f4dccfb832cfeccd72c5379cef277e11b1cff.tar.bz2
Modified the tests to use the package tcltest
FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
Diffstat (limited to 'tests/autoMkindex.test')
-rw-r--r--tests/autoMkindex.test12
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
}