summaryrefslogtreecommitdiff
path: root/t/helper/test-mktemp.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 08:44:47 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-27 08:45:47 -0700
commitd9cc2c87805dfde54a37c0bb33fdfa19122312b4 (patch)
treeea8d826d9805d51aea05b63d891f1b71bfea0beb /t/helper/test-mktemp.c
parentt/helper: merge (unused) test-mergesort into test-tool (diff)
downloadtgif-d9cc2c87805dfde54a37c0bb33fdfa19122312b4.tar.xz
t/helper: merge test-mktemp 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-mktemp.c')
-rw-r--r--t/helper/test-mktemp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-mktemp.c b/t/helper/test-mktemp.c
index 89d9b2f7be..2290688940 100644
--- a/t/helper/test-mktemp.c
+++ b/t/helper/test-mktemp.c
@@ -1,9 +1,10 @@
/*
* test-mktemp.c: code to exercise the creation of temporary files
*/
+#include "test-tool.h"
#include "git-compat-util.h"
-int cmd_main(int argc, const char **argv)
+int cmd__mktemp(int argc, const char **argv)
{
if (argc != 2)
usage("Expected 1 parameter defining the temporary file template");