diff options
author | dgp <dgp@users.sourceforge.net> | 2009-10-29 17:21:17 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-10-29 17:21:17 (GMT) |
commit | 7ba094d5c64eb844c4fec27beb598cf43c90b821 (patch) | |
tree | ed9cdbb225652a13b963624c9b6b5c344b832bac /tests/compile.test | |
parent | 80ed2d3225fd713abeabba326c657ee9567dc1c5 (diff) | |
download | tcl-7ba094d5c64eb844c4fec27beb598cf43c90b821.zip tcl-7ba094d5c64eb844c4fec27beb598cf43c90b821.tar.gz tcl-7ba094d5c64eb844c4fec27beb598cf43c90b821.tar.bz2 |
Test hygiene for the ::tmp variable
Diffstat (limited to 'tests/compile.test')
-rw-r--r-- | tests/compile.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/compile.test b/tests/compile.test index 6785855..57a1a3c 100644 --- a/tests/compile.test +++ b/tests/compile.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: compile.test,v 1.48.2.1 2008/07/25 20:30:58 andreas_kupries Exp $ +# RCS: @(#) $Id: compile.test,v 1.48.2.2 2009/10/29 17:21:18 dgp Exp $ package require tcltest 2 namespace import -force ::tcltest::* @@ -296,6 +296,7 @@ test compile-12.1 {testing literal leak on interp delete} -setup { set leakedBytes [expr {$end - $tmp}] } -cleanup { rename getbytes {} + unset -nocomplain end i tmp leakedBytes } -result 0 # Special test for a memory error in a preliminary fix of [Bug 467523]. # It requires executing a helpfile. Presumably the child process is |