From: Alexander Zangerl Date: Fri, 20 Mar 2015 14:26:02 +0000 (-0400) Subject: Make sure the valgrind suppression file is honored, and add some extra X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/6479e26eb2c50ec45fdd0ef721702ae756ac28ee?hp=f7f272c9859fd70ff93a619b4da97a93fe951ae8 Make sure the valgrind suppression file is honored, and add some extra suppressions needed when running under the Debian fakeroot environment. --- 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 +} +