summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2009-02-04 00:26:03 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-03 22:01:02 -0800
commit6a7e37c99f733821bd3a17432fa6e4591b63866c (patch)
treed9084dcec71a2872272825d1f26f343d2426b280 /t
parentAdd valgrind support in test scripts (diff)
downloadtgif-6a7e37c99f733821bd3a17432fa6e4591b63866c.tar.xz
valgrind: ignore ldso and more libz errors
On some Linux systems, we get a host of Cond and Addr errors from calls to dlopen that are caused by nss modules. We should be able to safely ignore anything happening in ld-*.so as "not our problem." [Johannes: I added some more... unfortunately using valgrind 3.4.0 syntax] Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r--t/valgrind/default.supp30
1 files changed, 26 insertions, 4 deletions
diff --git a/t/valgrind/default.supp b/t/valgrind/default.supp
index 2482b3b06a..5f341b8598 100644
--- a/t/valgrind/default.supp
+++ b/t/valgrind/default.supp
@@ -5,17 +5,39 @@
}
{
+ ignore-zlib-errors-value8
+ Memcheck:Value8
+ obj:*libz.so*
+}
+
+{
ignore-zlib-errors-value4
Memcheck:Value4
obj:*libz.so*
}
{
- writing-data-from-zlib-triggers-errors
+ ignore-ldso-cond
+ Memcheck:Cond
+ obj:*ld-*.so
+}
+
+{
+ ignore-ldso-addr8
+ Memcheck:Addr8
+ obj:*ld-*.so
+}
+
+{
+ ignore-ldso-addr4
+ Memcheck:Addr4
+ obj:*ld-*.so
+}
+
+{
+ writing-data-from-zlib-triggers-even-more-errors
Memcheck:Param
write(buf)
- obj:/lib/ld-*.so
- fun:write_in_full
- fun:write_buffer
+ ...
fun:write_loose_object
}