summaryrefslogtreecommitdiff
path: root/t/helper/test-tool.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2019-06-15 10:06:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-06-18 01:11:41 (GMT)
commit11510decd020c3cb8936432d4d4bfb214492fcc4 (patch)
tree35b140c54d19e7b20add494c30f349d8b29c8ae1 /t/helper/test-tool.h
parentb697d92f56511e804b8ba20ccbe7bdc85dc66810 (diff)
downloadgit-11510decd020c3cb8936432d4d4bfb214492fcc4.zip
git-11510decd020c3cb8936432d4d4bfb214492fcc4.tar.gz
git-11510decd020c3cb8936432d4d4bfb214492fcc4.tar.bz2
t/helper: add test-oidmap.c
This new helper is very similar to "test-hashmap.c" and will help test how `struct oidmap` from oidmap.{c,h} can be used. Helped-by: SZEDER Gábor <szeder.dev@gmail.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-tool.h')
-rw-r--r--t/helper/test-tool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h
index 7e703f3..c7a46dc 100644
--- a/t/helper/test-tool.h
+++ b/t/helper/test-tool.h
@@ -25,6 +25,7 @@ int cmd__lazy_init_name_hash(int argc, const char **argv);
int cmd__match_trees(int argc, const char **argv);
int cmd__mergesort(int argc, const char **argv);
int cmd__mktemp(int argc, const char **argv);
+int cmd__oidmap(int argc, const char **argv);
int cmd__online_cpus(int argc, const char **argv);
int cmd__parse_options(int argc, const char **argv);
int cmd__path_utils(int argc, const char **argv);