From 401267eb5789ba2a2afbcc0ab7187b8ab233ca73 Mon Sep 17 00:00:00 2001 From: dgp Date: Tue, 10 Oct 2006 18:23:02 +0000 Subject: * tests/namespace.test (namespace-51.16): Added test. --- ChangeLog | 1 + tests/namespace.test | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4630f7c..6b59a9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ commandPathSourceList of a namespace is cleared, set the commandPathSourceList to NULL so we don't try to walk the list a second time, possibly after it is freed. [Bug 1566526] + * tests/namespace.test (namespace-51.16): Added test. 2006-10-09 Miguel Sofer diff --git a/tests/namespace.test b/tests/namespace.test index 25bdb6f..4597b6f 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.57 2006/10/09 19:15:45 msofer Exp $ +# RCS: @(#) $Id: namespace.test,v 1.58 2006/10/10 18:23:03 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -2402,6 +2402,11 @@ test namespace-51.15 {namespace resolution path control} -body { namespace delete ::test_ns_1 namespace delete ::test_ns_2 } +test namespace-51.16 {Bug 1566526} { + interp create slave + slave eval namespace eval demo namespace path :: + interp delete slave +} {} # TIP 181 - namespace unknown tests test namespace-52.1 {unknown: default handler ::unknown} { -- cgit v0.12