]> git.saurik.com Git - redis.git/commitdiff
test fixed after ascii art banner modified the output of a running server
authorantirez <antirez@gmail.com>
Fri, 15 Apr 2011 14:35:54 +0000 (16:35 +0200)
committerantirez <antirez@gmail.com>
Fri, 15 Apr 2011 14:35:54 +0000 (16:35 +0200)
tests/support/server.tcl
tests/test_helper.tcl

index 4f48d22dcafbd023acde952340890bc262a7ee10..c92754611536f16f78ad2a885a94540d279fe6e1 100644 (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
     }
 
index 156ce3c1f81a9964b6fd3905b0d5354164795c20..c594f6f6dcce39c14be89c9a2ebfd57eb44df66e 100644 (file)
@@ -127,6 +127,7 @@ proc execute_everything {} {
 #    execute_tests "integration/redis-cli"
     execute_tests "unit/pubsub"
 
+    return; # No diskstore tests for now...
     # run tests with diskstore enabled
     puts "\nRunning diskstore tests... this is slow, press Ctrl+C if not interested.."
     set ::diskstore 1