diff options
author | dgp <dgp@users.sourceforge.net> | 2004-10-28 00:00:44 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-10-28 00:00:44 (GMT) |
commit | eb3bdd1436d6f44483a5067f3d7021ca26e2cce6 (patch) | |
tree | de4836ab7ed361708adf24ebcd065196160d1c0a /tests/autoMkindex.test | |
parent | 3dc792af1b4092559af5da21b600651cde78c1ff (diff) | |
download | tcl-eb3bdd1436d6f44483a5067f3d7021ca26e2cce6.zip tcl-eb3bdd1436d6f44483a5067f3d7021ca26e2cce6.tar.gz tcl-eb3bdd1436d6f44483a5067f3d7021ca26e2cce6.tar.bz2 |
* tests/appendComp.test: Backport test suite fixes of errors
* tests/autoMkindex.test: revealed by -singleproc 1 -debug 1
* tests/exec.test: options to make test.
* tests/execute.test:
* tests/interp.test:
* tests/io.test:
* tests/namespace.test:
* tests/regexpComp.test:
* tests/stringComp.test:
* tests/unixInit.test:
* tests/winPipe.test:
Diffstat (limited to 'tests/autoMkindex.test')
-rw-r--r-- | tests/autoMkindex.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/autoMkindex.test b/tests/autoMkindex.test index 457e225..a65a406 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.14 2002/10/03 13:34:32 dkf Exp $ +# RCS: @(#) $Id: autoMkindex.test,v 1.14.2.1 2004/10/28 00:01:06 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -326,15 +326,15 @@ proc {[magic mojo proc]} {} {} test autoMkindex-5.2 {correctly locate auto loaded procs with []} { file delete tclIndex - set res {} + set result {} if { ![catch {auto_mkindex . pkg/magicchar2.tcl}] } { # Make a slave interp to test the autoloading set c [interp create] $c eval {lappend auto_path [pwd]} - set res [$c eval {catch {{[magic mojo proc]}}}] + set result [$c eval {catch {{[magic mojo proc]}}}] interp delete $c } - set res + set result } 0 removeFile [file join pkg magicchar2.tcl] |