diff options
author | andreas_kupries <akupries@shaw.ca> | 2009-11-05 20:15:36 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2009-11-05 20:15:36 (GMT) |
commit | b977ee0d9d914e5cd1ab95214d34b7f950d4c331 (patch) | |
tree | e7007b50e63fd3b02aaa984d1b646717fbbe2353 /tests | |
parent | b9978f4d217439867aee45c210e1e6e5a18da3ec (diff) | |
download | tcl-b977ee0d9d914e5cd1ab95214d34b7f950d4c331.zip tcl-b977ee0d9d914e5cd1ab95214d34b7f950d4c331.tar.gz tcl-b977ee0d9d914e5cd1ab95214d34b7f950d4c331.tar.bz2 |
* library/safe.tcl: A series of patches which bring the SafeBase
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(8) Converted the path token system to cache normalized paths and
path <-> token conversions. Removed more procedures not used any
longer. Removed the test cases 4.3 and 4.4 from safe.test. They
were testing the now deleted command "InterpStateName".
Diffstat (limited to 'tests')
-rw-r--r-- | tests/safe.test | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/tests/safe.test b/tests/safe.test index 6368b83..22ef475 100644 --- a/tests/safe.test +++ b/tests/safe.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: safe.test,v 1.25 2008/10/14 17:17:46 dgp Exp $ +# RCS: @(#) $Id: safe.test,v 1.26 2009/11/05 20:15:36 andreas_kupries Exp $ package require Tcl 8.5 @@ -117,23 +117,6 @@ test safe-4.2 {safe::interpDelete, indirectly} { a alias exit safe::interpDelete a a eval exit } "" -test safe-4.3 {safe::interpDelete, state array (not a public api)} { - catch {safe::interpDelete a} - namespace eval safe {set [InterpStateName a](foo) 33} - # not an error anymore to call it if interp is already - # deleted, to make trhings smooth if it's called twice... - catch {safe::interpDelete a} m1 - catch {namespace eval safe {set [InterpStateName a](foo)}} m2 - list $m1 $m2 -} "{}\ - {can't read \"[safe::InterpStateName a](foo)\": no such variable}" -test safe-4.4 {safe::interpDelete, state array, indirectly (not a public api)} { - catch {safe::interpDelete a} - safe::interpCreate a - namespace eval safe {set [InterpStateName a](foo) 33} - a eval exit - catch {namespace eval safe {set [InterpStateName a](foo)}} msg -} 1 test safe-4.5 {safe::interpDelete} { catch {safe::interpDelete a} safe::interpCreate a |