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
commit 3e0aef1e2e

View File

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