summaryrefslogtreecommitdiffstats
path: root/tests/proc.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/proc.test
parente06f616f4b1db4e440fd0883a4987547208d8dd9 (diff)
downloadtcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.zip
tcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.tar.gz
tcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.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 6ef6811..789c671 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.20 2008/08/11 20:40:41 andreas_kupries Exp $
+# RCS: @(#) $Id: proc.test,v 1.21 2009/10/29 17:21:48 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} {