X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/f858c11d7d9ca79010dd46a9c8c625e63a9a3ec0..994ed2bc552f4114b1f0c8dd3fd8aefaec6beeae:/tests/support/server.tcl diff --git a/tests/support/server.tcl b/tests/support/server.tcl index 4f48d22d..c9275461 100644 --- a/tests/support/server.tcl +++ b/tests/support/server.tcl @@ -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 }