OSDN Git Service

refs: fix valgrind suppression file
authorDavid Turner <dturner@twopensource.com>
Fri, 4 Jul 2014 20:24:01 +0000 (13:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Jul 2014 19:56:39 +0000 (12:56 -0700)
Add all of the ways in which check_refname_format violates valgrind's
expectations to the valgrind suppression file; remove an assumption about
the call chain of check_refname_format from same.

Signed-off-by: David Turner <dturner@twitter.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/valgrind/default.supp

index 332ab1a..9d51c92 100644 (file)
        fun:copy_ref
 }
 {
-       ignore-sse-check_refname_format
+       ignore-sse-check_refname_format-addr
        Memcheck:Addr8
        fun:check_refname_format
-       fun:cmd_check_ref_format
-       fun:handle_builtin
-       fun:main
+}
+{
+       ignore-sse-check_refname_format-cond
+       Memcheck:Cond
+       fun:check_refname_format
+}
+{
+       ignore-sse-check_refname_format-value
+       Memcheck:Value8
+       fun:check_refname_format
 }