summaryrefslogtreecommitdiff
path: root/t/helper/test-genrandom.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 08:44:42 +0100
committerJunio C Hamano <gitster@pobox.com>2018-03-27 08:45:47 -0700
commitc680668d1aa6abf7e970355428838f8dc0ca4c1c (patch)
tree63da49632b1bc2561bf6efff13e8bca626a9cae0 /t/helper/test-genrandom.c
parentdbceb3ecc5488408069283bbd091b2af9a1560df (diff)
t/helper: merge test-genrandom 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-genrandom.c')
-rw-r--r--t/helper/test-genrandom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-genrandom.c b/t/helper/test-genrandom.c
index 8d11d22d98..99b8dc1e2d 100644
--- a/t/helper/test-genrandom.c
+++ b/t/helper/test-genrandom.c
@@ -4,9 +4,10 @@
* Copyright (C) 2007 by Nicolas Pitre, licensed under the GPL version 2.
*/
+#include "test-tool.h"
#include "git-compat-util.h"
-int cmd_main(int argc, const char **argv)
+int cmd__genrandom(int argc, const char **argv)
{
unsigned long count, next = 0;
unsigned char *c;