summaryrefslogtreecommitdiffstats
path: root/tests/eval.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-01-18 19:48:11 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-01-18 19:48:11 (GMT)
commitfa839dce12c20b16a8736752fd93063afc2c6446 (patch)
tree1547bf1979ad086cf06e0263a52ef20a1ef90bcd /tests/eval.test
parent73cefe9821b18e74d301da6d70d9d2709cacfe7f (diff)
downloadtcl-fa839dce12c20b16a8736752fd93063afc2c6446.zip
tcl-fa839dce12c20b16a8736752fd93063afc2c6446.tar.gz
tcl-fa839dce12c20b16a8736752fd93063afc2c6446.tar.bz2
Fix test suite bugs exposed by -singleproc 1 -debug 1 run. Each test
file needs to avoid stomping on the assumptions of other files, and protect against getting stomped as well.
Diffstat (limited to 'tests/eval.test')
-rw-r--r--tests/eval.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/eval.test b/tests/eval.test
index eefa96f..a068c1b 100644
--- a/tests/eval.test
+++ b/tests/eval.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: eval.test,v 1.7 2005/09/06 14:40:11 dkf Exp $
+# RCS: @(#) $Id: eval.test,v 1.8 2006/01/18 19:48:11 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -68,7 +68,7 @@ test eval-3.3 {eval and canonical lists} {
set cmd [list list 1 2 3 4 5]
# Force existance of utf-8 rep
set dummy($cmd) $cmd
- unset dummy($cmd)
+ unset dummy
eval $cmd
} {1 2 3 4 5}
test eval-3.4 {concatenating eval and canonical lists} {
@@ -77,7 +77,7 @@ test eval-3.4 {concatenating eval and canonical lists} {
# Force existance of utf-8 rep
set dummy($cmd) $cmd
set dummy($cmd2) $cmd2
- unset dummy($cmd) dummy($cmd2)
+ unset dummy
eval $cmd $cmd2
} {1 2 3 4 5}