summaryrefslogtreecommitdiffstats
path: root/library/tcltest/tcltest.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-02-04 06:15:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-02-04 06:15:18 (GMT)
commita407d6905324de3de916c00cac8a979bf7fc52ec (patch)
tree98a6585d910e8d2c15835a63f04f43b15eed45ba /library/tcltest/tcltest.tcl
parentf8d27459af191a22004f1fc5e15b18df09234315 (diff)
downloadtcl-a407d6905324de3de916c00cac8a979bf7fc52ec.zip
tcl-a407d6905324de3de916c00cac8a979bf7fc52ec.tar.gz
tcl-a407d6905324de3de916c00cac8a979bf7fc52ec.tar.bz2
* library/tcltest/tcltest.tcl: Corrected references to
non-existent $name variable in [cleanupTests]. [Bug 833637]
Diffstat (limited to 'library/tcltest/tcltest.tcl')
-rw-r--r--library/tcltest/tcltest.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 8e65566..18d55e7 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -16,7 +16,7 @@
# Contributions from Don Porter, NIST, 2002. (not subject to US copyright)
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.tcl,v 1.85 2004/02/03 18:51:10 dgp Exp $
+# RCS: @(#) $Id: tcltest.tcl,v 1.86 2004/02/04 06:15:18 dgp Exp $
package require Tcl 8.3 ;# uses [glob -directory]
namespace eval tcltest {
@@ -2479,10 +2479,10 @@ proc tcltest::cleanupTests {{calledFromAllFile 0}} {
puts "rename core file (> 1)"
puts [outputChannel] "produced core file! \
Moving file to: \
- [file join [temporaryDirectory] core-$name]"
+ [file join [temporaryDirectory] core-$testFileName]"
catch {file rename -force \
[file join [workingDirectory] core] \
- [file join [temporaryDirectory] core-$name]
+ [file join [temporaryDirectory] core-$testFileName]
} msg
if {[string length $msg] > 0} {
PrintError "Problem renaming file: $msg"