From 497803a92be10f8a4594c11cd1a04ae26d7351c5 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 8 May 2014 10:21:56 +0300 Subject: [PATCH] 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. --- run-test.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/run-test.sh b/run-test.sh index 2e2841df2e..9c17212d19 100644 --- a/run-test.sh +++ b/run-test.sh @@ -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 -- 2.47.3