summaryrefslogtreecommitdiffstats
path: root/tests/interp.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/interp.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/interp.test')
-rw-r--r--tests/interp.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/interp.test b/tests/interp.test
index d2acbdd..94657e2 100644
--- a/tests/interp.test
+++ b/tests/interp.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: interp.test,v 1.47 2005/10/10 17:33:26 dkf Exp $
+# RCS: @(#) $Id: interp.test,v 1.48 2006/01/18 19:48:11 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -1724,6 +1724,7 @@ test interp-24.1 {result resetting on error} {
set l
}]
interp delete a
+ rename foo {}
set l
} {1 {1 2 3} 1 {3 4 5}}
test interp-24.2 {result resetting on error} {
@@ -1740,6 +1741,7 @@ test interp-24.2 {result resetting on error} {
set l
}]
interp delete a
+ rename foo {}
set l
} {1 {1 2 3} 1 {3 4 5}}
test interp-24.3 {result resetting on error} {