X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d6107fd6f194f568bd0fec3230cae83973de929d..890a2ed989274cb09b5cde1def3935e110ec3cb9:/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 }