avoid an apparent race condition on Darwin.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21814
dc483132-0cff-0310-8789-
dd5450dbe970
set dots 0
set server_lines 0
while {1} {
- set oldtimeout $timeout
- set timeout 5
- while {1} {
- expect {
- -i $server_id
- -re $ver_line {
- verbose "Got line from server."
- incr server_lines
- }
- default {
- break
- }
- }
- }
- set timeout $oldtimeout
expect {
+ -i $server_id
+ -re $ver_line {
+ verbose "Got line from server."
+ incr server_lines
+ }
+ default {
+ exp_continue
+ }
+
-i $client_id
. {
incr dots
fail "full run: timeout waiting for dot"
break
}
-
}
}
if {$dots==11} {