summaryrefslogtreecommitdiffstats
path: root/tests/namespace.test
diff options
context:
space:
mode:
authorericm <ericm>2000-01-26 21:36:35 (GMT)
committerericm <ericm>2000-01-26 21:36:35 (GMT)
commitd3256a88c6ade958ce2e87ca8a3b7c0231e476ef (patch)
treec034dc441d7fe54e8a3187e41a118ac3a83186fd /tests/namespace.test
parent7b6b3a5c4a1ea767c7ba8cb5236f916461e703b9 (diff)
downloadtcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.zip
tcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.tar.gz
tcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.tar.bz2
* generic/tclNamesp.c: Undid fix for #956, which broke backwards
compatibility. * doc/variable.n: * doc/trace.n: * doc/namespace.n: * doc/info.n: Added further information about differences between "namespace which" and "info exists". * doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg() functions.
Diffstat (limited to 'tests/namespace.test')
-rw-r--r--tests/namespace.test9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/namespace.test b/tests/namespace.test
index 6cecc9e..dcc6671 100644
--- a/tests/namespace.test
+++ b/tests/namespace.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: namespace.test,v 1.8 2000/01/21 03:58:17 ericm Exp $
+# RCS: @(#) $Id: namespace.test,v 1.9 2000/01/26 21:36:36 ericm Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -1041,13 +1041,6 @@ test namespace-34.7 {NamespaceWhichCmd, variable lookup} {
[catch {namespace which -variable ::test_ns_2::noSuchVar} msg] $msg
}
} {::env ::test_ns_3::v3 ::test_ns_2::v2 0 {}}
-test namespace-34.8 {NamespaceWhichCmd, lookup of undefined but traced var} {
- catch {unset foo}
- trace variable foo w bar
- set res [namespace which -variable foo]
- trace vdelete foo w bar
- set res
-} {}
test namespace-35.1 {FreeNsNameInternalRep, resulting ref count > 0} {
catch {eval namespace delete [namespace children :: test_ns_*]}