summaryrefslogtreecommitdiffstats
path: root/tests/autoMkindex.test
diff options
context:
space:
mode:
authorhershey <hershey>1999-03-23 20:06:07 (GMT)
committerhershey <hershey>1999-03-23 20:06:07 (GMT)
commit0655548ba871678e963739a6a17f0f45786567f7 (patch)
treeebf678e2071193656adef6036d8e6f062614bba1 /tests/autoMkindex.test
parent3a67bb873f58d320e136a97c9fb0be1cd23035f4 (diff)
downloadtcl-0655548ba871678e963739a6a17f0f45786567f7.zip
tcl-0655548ba871678e963739a6a17f0f45786567f7.tar.gz
tcl-0655548ba871678e963739a6a17f0f45786567f7.tar.bz2
changed tests to use "tcltest" namespace instead of "test".
added constraints to tests, rather than skipping the entire file.
Diffstat (limited to 'tests/autoMkindex.test')
-rw-r--r--tests/autoMkindex.test20
1 files changed, 15 insertions, 5 deletions
diff --git a/tests/autoMkindex.test b/tests/autoMkindex.test
index 345bac3..e04063b 100644
--- a/tests/autoMkindex.test
+++ b/tests/autoMkindex.test
@@ -9,15 +9,15 @@
# 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.1.2.3 1999/03/11 18:49:24 hershey Exp $
+# RCS: @(#) $Id: autoMkindex.test,v 1.1.2.4 1999/03/23 20:06:10 hershey Exp $
-if {[lsearch [namespace children] ::test] == -1} {
+if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
}
# temporarily copy the autoMkindex.tcl file from testsDir to tmpDir
-set origMkindexFile [file join $::test::testsDir autoMkindex.tcl]
-set newMkindexFile [file join $::test::tmpDir autoMkindex.tcl]
+set origMkindexFile [file join $::tcltest::testsDir autoMkindex.tcl]
+set newMkindexFile [file join $::tcltest::tmpDir autoMkindex.tcl]
if {![catch {file copy $origMkindexFile $newMkindexFile}]} {
set removeAutoMkindex 1
}
@@ -69,5 +69,15 @@ if {[info exists removeAutoMkindex]} {
catch {file delete $newMkindexFile}
}
catch {file delete -force tclIndex}
-::test::cleanupTests
+::tcltest::cleanupTests
+
+
+
+
+
+
+
+
+
+