From 6479e26eb2c50ec45fdd0ef721702ae756ac28ee Mon Sep 17 00:00:00 2001 From: Alexander Zangerl Date: Fri, 20 Mar 2015 10:26:02 -0400 Subject: [PATCH] Make sure the valgrind suppression file is honored, and add some extra suppressions needed when running under the Debian fakeroot environment. --- test/inc/test-deb359167 | 2 +- test/valgrind.supp | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/test/inc/test-deb359167 b/test/inc/test-deb359167 index e0360e35..9baad073 100755 --- a/test/inc/test-deb359167 +++ b/test/inc/test-deb359167 @@ -36,4 +36,4 @@ fi chmod 755 ${MH_INST_DIR}${bindir}/inc -valgrind --error-exitcode=1 --quiet inc -silent -file "$TESTMBOX" +valgrind --error-exitcode=1 --quiet --suppressions="$MH_OBJ_DIR/test/valgrind.supp" inc -silent -file "$TESTMBOX" diff --git a/test/valgrind.supp b/test/valgrind.supp index f3198bbd..b4d16605 100644 --- a/test/valgrind.supp +++ b/test/valgrind.supp @@ -15,3 +15,20 @@ fun:*sendmsg* fun:readline } + +{ + Syscall param msgsnd(msgp->mtext) points to uninitialised byte(s) [under fakeroot] + Memcheck:Param + msgsnd(msgp->mtext) + ... + obj:*libfakeroot*.so +} + +{ + Syscall param stat(file_name) points to uninitialised byte(s) [under fakeroot] + Memcheck:Param + stat(file_name) + ... + obj:*libfakeroot*.so +} + -- 2.56.0