summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-04-19 15:10:43 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-04-19 15:10:43 (GMT)
commit8083af6181543c3852c249319b540c74186e6967 (patch)
tree1ea1776a7b6e69da01914fe09e295926d54cbb1e /tests
parent5569cd7f6bc15d75f4b42108f06113c0e198a0e2 (diff)
downloadtcl-8083af6181543c3852c249319b540c74186e6967.zip
tcl-8083af6181543c3852c249319b540c74186e6967.tar.gz
tcl-8083af6181543c3852c249319b540c74186e6967.tar.bz2
fixed Bug 1185933
Diffstat (limited to 'tests')
-rw-r--r--tests/clock.test14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/clock.test b/tests/clock.test
index 7cd4509..7c2673d 100644
--- a/tests/clock.test
+++ b/tests/clock.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: clock.test,v 1.53 2004/12/29 20:57:28 kennykb Exp $
+# RCS: @(#) $Id: clock.test,v 1.54 2005/04/19 15:11:08 kennykb Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -35399,6 +35399,18 @@ test clock-47.2 {regression test - four digit time} {
clock scan 0039
} [clock scan 0039 -format %H%M]
+test clock-48.1 {Bug 1185933: 'i' destroyed by clock init} -setup {
+ interp create child
+} -body {
+ interp eval child {
+ set i 12345
+ clock format 0
+ list [catch { set i } result] $result
+ }
+} -cleanup {
+ interp delete child
+} -result {0 12345}
+
# cleanup
namespace delete ::testClock