summaryrefslogtreecommitdiffstats
path: root/tests/proc.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-10-29 17:21:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-10-29 17:21:17 (GMT)
commit7ba094d5c64eb844c4fec27beb598cf43c90b821 (patch)
treeed9cdbb225652a13b963624c9b6b5c344b832bac /tests/proc.test
parent80ed2d3225fd713abeabba326c657ee9567dc1c5 (diff)
downloadtcl-7ba094d5c64eb844c4fec27beb598cf43c90b821.zip
tcl-7ba094d5c64eb844c4fec27beb598cf43c90b821.tar.gz
tcl-7ba094d5c64eb844c4fec27beb598cf43c90b821.tar.bz2
Test hygiene for the ::tmp variable
Diffstat (limited to 'tests/proc.test')
-rw-r--r--tests/proc.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/proc.test b/tests/proc.test
index bb50979..3ff7b71 100644
--- a/tests/proc.test
+++ b/tests/proc.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: proc.test,v 1.19.4.1 2008/08/11 19:02:02 andreas_kupries Exp $
+# RCS: @(#) $Id: proc.test,v 1.19.4.2 2009/10/29 17:21:18 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -322,6 +322,7 @@ test proc-4.8 {TclCreateProc, procbody obj, no leak on multiple iterations} -set
set leakedBytes [expr {$end - $tmp}]
} -cleanup {
rename getbytes {}
+ unset -nocomplain end i tmp leakedBytes
} -result 0
test proc-5.1 {Bytecompiling noop; test for correct argument substitution} {