summaryrefslogtreecommitdiff
path: root/t/valgrind
diff options
context:
space:
mode:
authorDavid Turner <dturner@twopensource.com>2014-07-04 13:24:01 -0700
committerJunio C Hamano <gitster@pobox.com>2014-07-08 12:56:39 -0700
commita8d9fea772ca49c23ca3ee3d7625b9d1ed94f87f (patch)
tree6ac36d47e6c77d25f32427b6cfc43e00964fe3d1 /t/valgrind
parent6d17dc1dd3909a9e8a5a915a6ff15d4c64c58290 (diff)
downloadgit-a8d9fea772ca49c23ca3ee3d7625b9d1ed94f87f.tar.gz
refs: fix valgrind suppression filedt/refs-check-refname-component-sse-fix
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>
Diffstat (limited to 't/valgrind')
-rw-r--r--t/valgrind/default.supp15
1 files changed, 11 insertions, 4 deletions
diff --git a/t/valgrind/default.supp b/t/valgrind/default.supp
index 332ab1a3b3..9d51c92b74 100644
--- a/t/valgrind/default.supp
+++ b/t/valgrind/default.supp
@@ -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
}