tests: Add valgrind suppression file for dlopen() issues
authorAndreas Schneider <asn@samba.org>
Wed, 28 Oct 2015 08:52:25 +0000 (09:52 +0100)
committerAndreas Schneider <asn@samba.org>
Wed, 28 Oct 2015 10:03:24 +0000 (11:03 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
tests/valgrind.supp [new file with mode: 0644]

diff --git a/tests/valgrind.supp b/tests/valgrind.supp
new file mode 100644 (file)
index 0000000..9857825
--- /dev/null
@@ -0,0 +1,16 @@
+### GLIBC
+{
+   glibc_dlopen_alloc
+   Memcheck:Leak
+   fun:calloc
+   fun:_dlerror_run
+   fun:dlopen@@GLIBC_2.2.5
+}
+
+{
+   glibc_dlclose_alloc
+   Memcheck:Leak
+   fun:calloc
+   fun:_dlerror_run
+   fun:dlclose
+}