From 73801d22e6c196cc5f2b033467ab9258e88acb5f Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 4 Feb 2004 06:14:49 +0000 Subject: * library/tcltest/tcltest.tcl: Corrected references to non-existent $name variable in [cleanupTests]. [Bug 833637] --- ChangeLog | 5 +++++ library/tcltest/tcltest.tcl | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7d5f1d..ff0a253 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-02-04 Don Porter + + * library/tcltest/tcltest.tcl: Corrected references to + non-existent $name variable in [cleanupTests]. [Bug 833637] + 2004-02-03 Don Porter * library/tcltest/tcltest.tcl: Corrected parsing of single diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index ffdc9d9..db4f8fb 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.78.2.6 2004/02/03 18:49:29 dgp Exp $ +# RCS: @(#) $Id: tcltest.tcl,v 1.78.2.7 2004/02/04 06:14:50 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" -- cgit v0.12