Merge pull request #1775 from mattsta/fix-test-against-new-PID-format

Fix test framework to detect proper server PID
This commit is contained in:
Salvatore Sanfilippo
2014-05-26 17:56:58 +02:00

View File

@ -236,7 +236,7 @@ proc start_server {options {code undefined}} {
# find out the pid # find out the pid
while {![info exists pid]} { while {![info exists pid]} {
regexp {\[(\d+)\]} [exec cat $stdout] _ pid regexp {PID:\s(\d+)} [exec cat $stdout] _ pid
after 100 after 100
} }