diff options
author | hobbs <hobbs@noemail.net> | 2006-04-05 20:57:08 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2006-04-05 20:57:08 (GMT) |
commit | 71c2d6be9958d655d5985b7ad628505310d7fc45 (patch) | |
tree | c8a0cb79203ae379c7570dfa81e8420ef78908f1 /tests | |
parent | 23c9bce60ade18b0676bf3005c77da18482161d8 (diff) | |
download | tk-71c2d6be9958d655d5985b7ad628505310d7fc45.zip tk-71c2d6be9958d655d5985b7ad628505310d7fc45.tar.gz tk-71c2d6be9958d655d5985b7ad628505310d7fc45.tar.bz2 |
* tests/textWind.test (textWind-10.6.1): prevent infinite update
loop in case of test failure
FossilOrigin-Name: 622906493c1240a6d4ec68f4a9bc68627435cf61
Diffstat (limited to 'tests')
-rw-r--r-- | tests/textWind.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/textWind.test b/tests/textWind.test index 2ca05cb2..1044cfe 100644 --- a/tests/textWind.test +++ b/tests/textWind.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: textWind.test,v 1.20 2005/07/18 22:12:11 vincentdarley Exp $ +# RCS: @(#) $Id: textWind.test,v 1.21 2006/04/05 20:57:08 hobbs Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -504,7 +504,8 @@ test textWind-10.6.1 {EmbWinLayoutProc procedure, error in creating window} { } set msg {} update - while {[llength $msg] == 1} { update } + set i 0 + while {[llength $msg] == 1 && [incr i] < 200} { update } set msg } {{{can't embed .t2 relative to .t}} {{window name "t2" already exists in parent}}} |