summaryrefslogtreecommitdiffstats
path: root/tests/autoMkindex.test
diff options
context:
space:
mode:
authorjenn <jenn>1999-10-19 18:08:35 (GMT)
committerjenn <jenn>1999-10-19 18:08:35 (GMT)
commit6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977 (patch)
tree69cab503a9d184acbb3fc80f69ff7bee4f2d7038 /tests/autoMkindex.test
parent92548c63db304c75eac148990b77793351783c2c (diff)
downloadtcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.zip
tcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.tar.gz
tcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.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]
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