diff options
author | dgp <dgp@users.sourceforge.net> | 2004-02-04 06:14:49 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-02-04 06:14:49 (GMT) |
commit | 73801d22e6c196cc5f2b033467ab9258e88acb5f (patch) | |
tree | 0e0ded00c313a607b1a523a093d92c9579ad46f1 | |
parent | 43a088efac279c73beb59101d02601958875ccbc (diff) | |
download | tcl-73801d22e6c196cc5f2b033467ab9258e88acb5f.zip tcl-73801d22e6c196cc5f2b033467ab9258e88acb5f.tar.gz tcl-73801d22e6c196cc5f2b033467ab9258e88acb5f.tar.bz2 |
* library/tcltest/tcltest.tcl: Corrected references to
non-existent $name variable in [cleanupTests]. [Bug 833637]
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | library/tcltest/tcltest.tcl | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2004-02-04 Don Porter <dgp@users.sourceforge.net> + + * library/tcltest/tcltest.tcl: Corrected references to + non-existent $name variable in [cleanupTests]. [Bug 833637] + 2004-02-03 Don Porter <dgp@users.sourceforge.net> * 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" |