summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-10-10 18:23:02 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-10-10 18:23:02 (GMT)
commit401267eb5789ba2a2afbcc0ab7187b8ab233ca73 (patch)
tree75278b1f7f29728602c6cdec178a632aa3fae46f
parent0c73b8718f673b740c084eb18f8a0c07cfa0f5ae (diff)
downloadtcl-401267eb5789ba2a2afbcc0ab7187b8ab233ca73.zip
tcl-401267eb5789ba2a2afbcc0ab7187b8ab233ca73.tar.gz
tcl-401267eb5789ba2a2afbcc0ab7187b8ab233ca73.tar.bz2
* tests/namespace.test (namespace-51.16): Added test.
-rw-r--r--ChangeLog1
-rw-r--r--tests/namespace.test7
2 files changed, 7 insertions, 1 deletions
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 <msofer@users.sf.net>
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} {