summaryrefslogtreecommitdiff
path: root/t/helper/test-tool.c
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.c
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.c')
-rw-r--r--t/helper/test-tool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.c b/t/helper/test-tool.c
index 087a8c0..1eac252 100644
--- a/t/helper/test-tool.c
+++ b/t/helper/test-tool.c
@@ -35,6 +35,7 @@ static struct test_cmd cmds[] = {
{ "match-trees", cmd__match_trees },
{ "mergesort", cmd__mergesort },
{ "mktemp", cmd__mktemp },
+ { "oidmap", cmd__oidmap },
{ "online-cpus", cmd__online_cpus },
{ "parse-options", cmd__parse_options },
{ "path-utils", cmd__path_utils },