diff options
author | msofer <msofer@noemail.net> | 2006-10-09 19:15:39 (GMT) |
---|---|---|
committer | msofer <msofer@noemail.net> | 2006-10-09 19:15:39 (GMT) |
commit | a2e762f2ecd77b978a5f7a805ffc5d761a6de9da (patch) | |
tree | 5d5d3889692f5fb9e51abfce3aeb3b7d346b2297 /tests/interp.test | |
parent | 5c836dad84b63ad67ada7abd51b01260d0ad6750 (diff) | |
download | tcl-a2e762f2ecd77b978a5f7a805ffc5d761a6de9da.zip tcl-a2e762f2ecd77b978a5f7a805ffc5d761a6de9da.tar.gz tcl-a2e762f2ecd77b978a5f7a805ffc5d761a6de9da.tar.bz2 |
* tests/*.test: updated all tests to refer explicitly to thetip-278-20061009
global variables ::errorInfo, ::errorCode, ::env and
::tcl_platform: many were relying on the alternative lookup in the
global namespace, that feature is tested specifically in namespace
and variable tests.
The modified testfiles are: apply.test, basic.test, case.test,
cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test,
event.test, expr.test, fileSystem.test, for.test, http.test,
if.test, incr-old.test, incr.test, interp.test, io.test,
ioCmd.test, load.test, misc.test, namespace.test, parse.test,
parseOld.test, pkg.test, proc-old.test, set.test, switch.test,
tcltest.test, thread.test, var.test, while-old.test, while.test.
FossilOrigin-Name: a8fcd798f4d17d4d3c958b65f206e78267d99627
Diffstat (limited to 'tests/interp.test')
-rw-r--r-- | tests/interp.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/interp.test b/tests/interp.test index 94657e2..07e758e 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.48 2006/01/18 19:48:11 dgp Exp $ +# RCS: @(#) $Id: interp.test,v 1.49 2006/10/09 19:15:44 msofer Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -2065,7 +2065,7 @@ test interp-26.7 {errorInfo transmission: regular interps} { MyError "some secret" } interp alias $interp test {} MyTestAlias $interp; - set res [interp eval $interp {catch test;set errorInfo}] + set res [interp eval $interp {catch test;set ::errorInfo}] interp delete $interp; set res } {msg @@ -2088,7 +2088,7 @@ test interp-26.8 {errorInfo transmission: safe interps--bug 1637} {knownBug} { MyError "some secret" } interp alias $interp test {} MyTestAlias $interp; - set res [interp eval $interp {catch test;set errorInfo}] + set res [interp eval $interp {catch test;set ::errorInfo}] interp delete $interp; set res } {msg |