Blame SOURCES/dovecot-2.2.10-valgrindlog.patch

386c00
diff -up dovecot-2.2.10/run-test.sh.valgrindlog dovecot-2.2.10/run-test.sh
386c00
--- dovecot-2.2.10/run-test.sh.valgrindlog	2016-06-17 17:53:22.685823573 +0200
386c00
+++ dovecot-2.2.10/run-test.sh	2016-06-17 17:54:06.303670444 +0200
386c00
@@ -2,7 +2,7 @@
386c00
 
386c00
 trap "rm -f test.out.$$" 0 1 2 3 15
386c00
 
386c00
-if valgrind --version | grep '^valgrind-3.[012]'; then
386c00
+if valgrind -q --log-file-exactly=/dev/null /bin/true >/dev/null 2>&1; then
386c00
   # RHEL 5.4 still has Valgrind v3.2
386c00
   valgrind -q --log-file-exactly=test.out.$$ $*
386c00
   ret=$?