diff options
author | dgp <dgp@noemail.net> | 2004-10-26 20:14:12 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2004-10-26 20:14:12 (GMT) |
commit | 0ac124d2a6cd005fb46c305bf2745e9349e8da55 (patch) | |
tree | d434a0b7fcce12b2effd71b0d201f00fc9b516ca /tests/timer.test | |
parent | 28e773e3efd5f3f3d433bfe0ae67e98ff67b7356 (diff) | |
download | tcl-0ac124d2a6cd005fb46c305bf2745e9349e8da55.zip tcl-0ac124d2a6cd005fb46c305bf2745e9349e8da55.tar.gz tcl-0ac124d2a6cd005fb46c305bf2745e9349e8da55.tar.bz2 |
* tests/compile.test (compile-12.4): Backport test for Bug 1001997.
* tests/timer.test (timer-10.1): Backport test for Bug 1016167.
* tests/tcltest.test (tcltest-12.3,4): Backport setup corrections.
* tests/error.test (error-6.3,4,7,9): Backport of some tests.
* tests/basic.test (basic-49.*):
* tests/namespace.test (namespace-8.7):
* tests/init.test (init-2.8): Updated to not rely on http package.
* generic/tclThreadTest.c (ThreadEventProc): Corrected subtle
bug where the returned (char *) from Tcl_GetStringResult(interp)
continued to be used without copying or refcounting, while
activity on the interp continued.
FossilOrigin-Name: bc0a9e3a5cdbb7a967d8d3d45a035100899ccb72
Diffstat (limited to 'tests/timer.test')
-rw-r--r-- | tests/timer.test | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/tests/timer.test b/tests/timer.test index 2b9c9c5..cd76ef0 100644 --- a/tests/timer.test +++ b/tests/timer.test @@ -13,10 +13,10 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: timer.test,v 1.7 2000/04/10 17:19:05 ericm Exp $ +# RCS: @(#) $Id: timer.test,v 1.7.22.1 2004/10/26 20:14:51 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest + package require tcltest 2 namespace import -force ::tcltest::* } @@ -537,6 +537,17 @@ test timer-9.1 {AfterCleanupProc procedure} { update set x } {before after2 after4} +test timer-10.1 {Bug 1016167: [after] overwrites imports} -setup { + interp create slave + slave eval namespace export after + slave eval namespace eval foo namespace import ::after +} -body { + slave eval foo::after 1 + slave eval namespace origin foo::after +} -cleanup { + # Bug will cause crash here; would cause failure otherwise + interp delete slave +} -result ::after # cleanup ::tcltest::cleanupTests |