From a407d6905324de3de916c00cac8a979bf7fc52ec Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 4 Feb 2004 06:15:18 +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 8e64b54..f6cd524 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 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" -- cgit v0.12