summaryrefslogtreecommitdiffstats
path: root/tests/compile.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-10-29 17:21:48 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-10-29 17:21:48 (GMT)
commit4c88e5710e2844b84cd5893e41bc3d369c37d65c (patch)
tree869c8c9633df43ae1f9ecb430490394374cd5df5 /tests/compile.test
parente06f616f4b1db4e440fd0883a4987547208d8dd9 (diff)
downloadtcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.zip
tcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.tar.gz
tcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.tar.bz2
test hygiene for the ::tmp variable
Diffstat (limited to 'tests/compile.test')
-rw-r--r--tests/compile.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/compile.test b/tests/compile.test
index 557b3b5..d9567cc 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.50 2008/11/17 22:37:36 ferrieux Exp $
+# RCS: @(#) $Id: compile.test,v 1.51 2009/10/29 17:21:48 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