From: Matthew Booth <mbooth@redhat.com>
Date: Fri, 2 Dec 2011 14:04:18 +0000 (+0000)
Subject: build: Add more suppressions for valgrind tests
X-Git-Tag: 1.14.6~5
X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3808715867690cd137b7afdbfd32f2c2827d1dd4;p=libguestfs.git

build: Add more suppressions for valgrind tests
(cherry picked from commit 655f8037def7742a608fb272004eec51424ac31d)
---

diff --git a/extratests/suppressions b/extratests/suppressions
index 97d4b78..4685366 100644
--- a/extratests/suppressions
+++ b/extratests/suppressions
@@ -1,3 +1,4 @@
+# libnuma
 {
    libnuma_numa_node_size64_cond
    Memcheck:Cond
@@ -12,12 +13,32 @@
    fun:numa_init
 }
 {
+   libnuma_numa_node_size64_cond_3
+   Memcheck:Cond
+   fun:*
+   fun:numa_node_size64
+   obj:/usr/lib64/libnuma.so.1
+}
+{
+   libnuma_numa_node_size64_cond_4
+   Memcheck:Cond
+   fun:numa_node_size64
+   obj:/usr/lib64/libnuma.so.1
+}
+{
    libnuma_numa_node_size64_value8
    Memcheck:Value8
    fun:numa_node_size64
    fun:numa_init
 }
+{
+   libnuma_numa_node_size64_value8_2
+   Memcheck:Value8
+   fun:numa_node_size64
+   obj:/usr/lib64/libnuma.so.1
+}
 
+# libnl
 {
    libnl_add_routing_table_name_leak
    Memcheck:Leak
@@ -44,7 +65,6 @@
    fun:calloc
    fun:add_proto_name
 }
-
 {
    libnl1_malloc_leak
    Memcheck:Leak
@@ -53,11 +73,24 @@
    obj:/usr/lib/libnl.so.1.1
 }
 {
+   libnl1_malloc_leak_2
+   Memcheck:Leak
+   fun:malloc
+   fun:strdup
+   obj:/lib64/libnl.so.1.1
+}
+{
    libnl1_calloc_leak
    Memcheck:Leak
    fun:calloc
    obj:/usr/lib/libnl.so.1.1
 }
+{
+   libnl1_calloc_leak_2
+   Memcheck:Leak
+   fun:calloc
+   obj:/lib64/libnl.so.1.1
+}
 
 # OCaml, by design, doesn't bother to free the major heap before
 # calling exit.  Ignore that leak.