summaryrefslogtreecommitdiffstats
path: root/tests/autoMkindex.test
diff options
context:
space:
mode:
authorjenn <jenn@noemail.net>1999-10-19 18:08:34 (GMT)
committerjenn <jenn@noemail.net>1999-10-19 18:08:34 (GMT)
commit389d3f198b938a2aea09dbb570d42cd55c285c20 (patch)
tree69cab503a9d184acbb3fc80f69ff7bee4f2d7038 /tests/autoMkindex.test
parent2c6860ce29d20a5d96a8ea3d96d5235b25f38cb7 (diff)
downloadtcl-389d3f198b938a2aea09dbb570d42cd55c285c20.zip
tcl-389d3f198b938a2aea09dbb570d42cd55c285c20.tar.gz
tcl-389d3f198b938a2aea09dbb570d42cd55c285c20.tar.bz2
* tests/tcltest.test:
* doc/tcltest.n: * library/tcltest1.0/tcltest.tcl: Removed the extra return at the end of the tcltest.tcl file. Applied patches sent in by Andreas Kupries to add helper procs for debug output, add 3 new flags (-testsdir, -load, -loadfile), and internally refactors common code for dealing with paths into separate procedures. [Bug: 2838, 2842] FossilOrigin-Name: 58252d4dac5ccaff0e51834d2b981eb00da26674
Diffstat (limited to 'tests/autoMkindex.test')
-rw-r--r--tests/autoMkindex.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/autoMkindex.test b/tests/autoMkindex.test
index b034077..27de741 100644
--- a/tests/autoMkindex.test
+++ b/tests/autoMkindex.test
@@ -9,7 +9,7 @@
# 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.6 1999/06/26 03:54:10 jenn Exp $
+# RCS: @(#) $Id: autoMkindex.test,v 1.7 1999/10/19 18:08:44 jenn Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -41,6 +41,9 @@ proc AutoMkindexTestReset {} {
set result ""
+set origDir [pwd]
+cd $::tcltest::testsDirectory
+
test autoMkindex-1.1 {remove any existing tclIndex file} {
file delete tclIndex
file exists tclIndex
@@ -188,4 +191,7 @@ if {[info exists removeAutoMkindex]} {
if {[file exists tclIndex]} {
file delete -force tclIndex
}
+
+cd $origDir
+
::tcltest::cleanupTests