aboutsummaryrefslogtreecommitdiff
path: root/tests/valgrind.supp
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-03-13 17:10:53 +0100
committerAndreas Schneider <mail@cynapses.org>2010-03-13 17:10:53 +0100
commit67c062e45e4afd6d3d032bf9546752ad4471f790 (patch)
tree7651a97e83db2418880c59e653a05e55a5031061 /tests/valgrind.supp
parent4516e7bdcbec3fe38bb9f988f9fc9ba71589438e (diff)
downloadlibssh-67c062e45e4afd6d3d032bf9546752ad4471f790.tar.gz
libssh-67c062e45e4afd6d3d032bf9546752ad4471f790.tar.xz
libssh-67c062e45e4afd6d3d032bf9546752ad4471f790.zip
Added a valgrind suppression file to ignore check errors.
Diffstat (limited to 'tests/valgrind.supp')
-rw-r--r--tests/valgrind.supp24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/valgrind.supp b/tests/valgrind.supp
new file mode 100644
index 00000000..cbda3245
--- /dev/null
+++ b/tests/valgrind.supp
@@ -0,0 +1,24 @@
+### CHECK
+{
+ check emalloc
+ Memcheck:Leak
+ fun:malloc
+ fun:emalloc
+}
+
+{
+ check setup_pipe
+ Memcheck:Leak
+ fun:malloc
+ fun:fdopen@@GLIBC_2.2.5
+ fun:tmpfile@@GLIBC_2.2.5
+ fun:setup_pipe
+}
+
+{
+ check erealloc
+ Memcheck:Leak
+ fun:realloc
+ fun:erealloc
+}
+