Skip to content

Commit 7a44a34

Browse files
committed
fix
1 parent ad1af35 commit 7a44a34

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/support/server.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ proc kill_server config {
5454

5555
# kill server and wait for the process to be totally exited
5656
catch {exec kill $pid}
57-
set wait 0
5857
while {[is_alive $config]} {
5958
incr wait 10
6059

@@ -292,9 +291,10 @@ proc start_server {options {code undefined}} {
292291

293292
while 1 {
294293
# check that the server actually started and is ready for connections
295-
if {[catch {exec grep "going to start" $stderr}] == 0} {
296-
break
294+
if {[exec grep "going to start" | wc -l < $stderr] > 0} {
295+
break
297296
}
297+
puts "Fuck YYB"
298298
after 10
299299
}
300300

0 commit comments

Comments
 (0)