summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integration/framework5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/integration/framework b/test/integration/framework
index e13888da2..477aebd39 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -250,10 +250,13 @@ valgrind() {
*) CMD="$1";;
esac
shift
+ if [ "$CMD" = "apt-ftparchive" ]; then
+ CMD="${APTFTPARCHIVEBINDIR}/${CMD}"
+ fi
if [ "${CMD##*/}" = "$CMD" ]; then
CMD="${APTCMDLINEBINDIR}/${CMD}"
fi
- runapt command valgrind "$CMD" "$@"
+ runapt command valgrind -q --error-exitcode=7 "$CMD" "$@"
}
lastmodification() {