diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2014-05-26 17:56:58 +0200 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2014-05-26 17:56:58 +0200 |
commit | 3e0aef1e2e7e9cf9ef3bc3a0d63c57499295cf14 (patch) | |
tree | 6f245cc691ea35cba31f4130897abe6245fdcb9d | |
parent | 7a0c5fdf12d9cd035e41734f518aa4568dc48c9d (diff) | |
parent | 6c16ecaaaab0d933249aaaef49fe50afd373df83 (diff) | |
download | redis-3e0aef1e2e7e9cf9ef3bc3a0d63c57499295cf14.tar.gz |
Merge pull request #1775 from mattsta/fix-test-against-new-PID-format
Fix test framework to detect proper server PID
-rw-r--r-- | tests/support/server.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/support/server.tcl b/tests/support/server.tcl index edcbbcc5d..9f92ce31e 100644 --- a/tests/support/server.tcl +++ b/tests/support/server.tcl @@ -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 } |