summaryrefslogtreecommitdiffstats
path: root/tests/basic.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-04 13:21:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-04 13:21:51 (GMT)
commit66f89aa35f529eeddaa54088e12452699348a5dd (patch)
tree56f9e8abc182b4e03ba06f3143a550b54173a536 /tests/basic.test
parent750b6be2ef53c7e44c682bdeccd64a10e04e0598 (diff)
parent00deed9129815de66856273e30bc92649e6c111b (diff)
downloadtcl-zipfs.zip
tcl-zipfs.tar.gz
tcl-zipfs.tar.bz2
Merge core-8-6-branch, fallback for MAP_FILEzipfs
Diffstat (limited to 'tests/basic.test')
-rw-r--r--tests/basic.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/basic.test b/tests/basic.test
index 1a0037c..7ff0669 100644
--- a/tests/basic.test
+++ b/tests/basic.test
@@ -224,6 +224,21 @@ test basic-15.1 {Tcl_CreateObjCommand, new cmd goes into a namespace specified i
list [test_ns_basic::cmd] \
[namespace delete test_ns_basic]
} {::test_ns_basic {}}
+test basic-15.2 {Tcl_CreateObjCommand, Bug 0e4d88b650} -setup {
+ proc deleter {ns args} {
+ namespace delete $ns
+ }
+ namespace eval n {
+ proc p {} {}
+ }
+ trace add command n::p delete [list [namespace which deleter] [namespace current]::n]
+} -body {
+ proc n::p {} {}
+} -cleanup {
+ namespace delete n
+ rename deleter {}
+}
+
test basic-16.1 {TclInvokeStringCommand} {emptyTest} {
} {}