diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/integration/framework | 3 |
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 } |
