summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/framework')
-rw-r--r--test/integration/framework3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/integration/framework b/test/integration/framework
index e054b4209..10cae70a5 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -256,10 +256,9 @@ valgrind() {
if [ "${CMD##*/}" = "$CMD" ]; then
CMD="${APTCMDLINEBINDIR}/${CMD}"
fi
- if command -v valgrind > /dev/null; then
+ if command valgrind --version >/dev/null 2>&1; then
runapt command valgrind -q --error-exitcode=7 "$CMD" "$@"
else
- msgdebug "Running without valgrind"
runapt command "$CMD" "$@"
fi
}