]> diplodocus.org Git - nmh/commitdiff
Make sure the valgrind suppression file is honored, and add some extra
authorAlexander Zangerl <exmh@bin.snafu.priv.at>
Fri, 20 Mar 2015 14:26:02 +0000 (10:26 -0400)
committerKen Hornstein <kenh@pobox.com>
Fri, 20 Mar 2015 14:26:02 +0000 (10:26 -0400)
suppressions needed when running under the Debian fakeroot environment.

test/inc/test-deb359167
test/valgrind.supp

index e0360e3..9baad07 100755 (executable)
@@ -36,4 +36,4 @@ fi
 
 chmod 755 ${MH_INST_DIR}${bindir}/inc
 
 
 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"
index f3198bb..b4d1660 100644 (file)
    fun:*sendmsg*
    fun:readline
 }
    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
+}
+