Skip to content

Commit

Permalink
refs: fix valgrind suppression file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Turner authored and Junio C Hamano committed Jul 8, 2014
1 parent 6d17dc1 commit a8d9fea
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions t/valgrind/default.supp
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,17 @@
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
}

0 comments on commit a8d9fea

Please sign in to comment.