summaryrefslogtreecommitdiff
path: root/t/helper/test-path-utils.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commitb8d5cf4f96f6e57ddc91dfcc530e47c878aff598 (patch)
treee34a35835213b7e7e846dea029081e7c02519510 /t/helper/test-path-utils.c
parentc033cc15087da35edf2c4d634d664a73eed6c5e8 (diff)
downloadgit-b8d5cf4f96f6e57ddc91dfcc530e47c878aff598.zip
git-b8d5cf4f96f6e57ddc91dfcc530e47c878aff598.tar.gz
git-b8d5cf4f96f6e57ddc91dfcc530e47c878aff598.tar.bz2
t/helper: merge test-path-utils into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-path-utils.c')
-rw-r--r--t/helper/test-path-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-path-utils.c b/t/helper/test-path-utils.c
index 2b3c509..e115d44 100644
--- a/t/helper/test-path-utils.c
+++ b/t/helper/test-path-utils.c
@@ -1,3 +1,4 @@
+#include "test-tool.h"
#include "cache.h"
#include "string-list.h"
@@ -170,7 +171,7 @@ static struct test_data dirname_data[] = {
{ NULL, NULL }
};
-int cmd_main(int argc, const char **argv)
+int cmd__path_utils(int argc, const char **argv)
{
if (argc == 3 && !strcmp(argv[1], "normalize_path_copy")) {
char *buf = xmallocz(strlen(argv[2]));