test fixed after ascii art banner modified the output of a running server

This commit is contained in:
antirez
2011-04-15 16:35:54 +02:00
parent fb2feae599
commit 72dff2c084
2 changed files with 2 additions and 1 deletions

View File

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