summaryrefslogtreecommitdiffstats
path: root/tests/clock.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/clock.test')
-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