Description: make sure test/inc/test-deb359167 honors valgrind.supp
Author: Alexander Zangerl <az@debian.org>
--- 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"
--- 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
+}
+
