]> git.saurik.com Git - redis.git/commitdiff
Redis test: regexp to check if valgrind reported errors modified. Now we no longer...
authorantirez <antirez@gmail.com>
Wed, 28 Mar 2012 08:55:17 +0000 (10:55 +0200)
committerantirez <antirez@gmail.com>
Wed, 28 Mar 2012 11:18:32 +0000 (13:18 +0200)
tests/support/server.tcl

index 928e5c40abe7573d268d0d0ae411f5c0540121cb..984270adb1b47e803d4e44825b3114df08423792 100644 (file)
@@ -17,7 +17,7 @@ proc check_valgrind_errors stderr {
     set buf [read $fd]
     close $fd
 
-    if {![regexp -- {ERROR SUMMARY: 0 errors} $buf] ||
+    if {[regexp -- { at 0x} $buf] ||
         (![regexp -- {definitely lost: 0 bytes} $buf] &&
          ![regexp -- {no leaks are possible} $buf])} {
         send_data_packet $::test_server_fd err "Valgrind error: $buf\n"