summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2015-10-28 09:52:25 +0100
committerAndreas Schneider <asn@samba.org>2015-10-28 11:03:24 +0100
commitf24f91eb2064ab04f7f289f73a443aafc45649e4 (patch)
tree1f15788e4824b99f7c24f5f274bf648ef429cd64
parentf649d0c5250867bf3d30d8f3059c3fbd75e17dd0 (diff)
downloadsocket_wrapper-f24f91eb2064ab04f7f289f73a443aafc45649e4.tar.gz
socket_wrapper-f24f91eb2064ab04f7f289f73a443aafc45649e4.tar.xz
socket_wrapper-f24f91eb2064ab04f7f289f73a443aafc45649e4.zip
tests: Add valgrind suppression file for dlopen() issues
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--tests/valgrind.supp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/valgrind.supp b/tests/valgrind.supp
new file mode 100644
index 0000000..9857825
--- /dev/null
+++ b/tests/valgrind.supp
@@ -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
+}