summaryrefslogtreecommitdiff
path: root/tests/support
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-04-15 16:35:54 +0200
committerantirez <antirez@gmail.com>2011-04-15 16:35:54 +0200
commit72dff2c084ce67464bded6bc9f5674d5e01b2cf7 (patch)
tree0f91fae706855fd1381c333c56351c9ba5376f16 /tests/support
parentfb2feae599e2a190cfc6906ca9a03abc54528b61 (diff)
downloadredis-72dff2c084ce67464bded6bc9f5674d5e01b2cf7.tar.gz
test fixed after ascii art banner modified the output of a running server
Diffstat (limited to 'tests/support')
-rw-r--r--tests/support/server.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/support/server.tcl b/tests/support/server.tcl
index 4f48d22dc..c92754611 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
}