dovecot-2.2: run-test.sh: Valgrind version check was broken for ...

dovecot at dovecot.org dovecot at dovecot.org
Thu May 8 07:22:37 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/f64ccd83673d
changeset: 17346:f64ccd83673d
user:      Timo Sirainen <tss at iki.fi>
date:      Thu May 08 10:21:56 2014 +0300
description:
run-test.sh: Valgrind version check was broken for v3.10+, removed it entirely.
RHEL 5.9 has valgrind v3.5 already, so there shouldn't really be any
important OSes using old valgrind that we need to support.

diffstat:

 run-test.sh |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (21 lines):

diff -r 24d27f7da7b2 -r f64ccd83673d run-test.sh
--- a/run-test.sh	Wed May 07 23:32:28 2014 +0300
+++ b/run-test.sh	Thu May 08 10:21:56 2014 +0300
@@ -2,15 +2,8 @@
 
 trap "rm -f test.out.$$" 0 1 2 3 15
 
-if valgrind --version | grep '^valgrind-3.[012]'; then
-  # RHEL 5.4 still has Valgrind v3.2
-  valgrind -q --log-file-exactly=test.out.$$ $*
-  ret=$?
-else
-  # v3.3+
-  valgrind -q --log-file=test.out.$$ $*
-  ret=$?
-fi
+valgrind -q --log-file=test.out.$$ $*
+ret=$?
 if [ -s test.out.$$ ]; then
   cat test.out.$$
   exit 1


More information about the dovecot-cvs mailing list