summaryrefslogtreecommitdiff
path: root/t/helper/test-sigchain.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commite154a6f3deb27b8f3a0864625ceb004918cef339 (patch)
tree00723ad466f8cb77e2595c319359dfd625b13576 /t/helper/test-sigchain.c
parentaa218dffcc00a8c5f7cccba79c3441addecabb50 (diff)
downloadgit-e154a6f3deb27b8f3a0864625ceb004918cef339.zip
git-e154a6f3deb27b8f3a0864625ceb004918cef339.tar.gz
git-e154a6f3deb27b8f3a0864625ceb004918cef339.tar.bz2
t/helper: merge test-sigchain 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-sigchain.c')
-rw-r--r--t/helper/test-sigchain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-sigchain.c b/t/helper/test-sigchain.c
index b71edbd..77ac5bc 100644
--- a/t/helper/test-sigchain.c
+++ b/t/helper/test-sigchain.c
@@ -1,3 +1,4 @@
+#include "test-tool.h"
#include "cache.h"
#include "sigchain.h"
@@ -13,7 +14,7 @@ X(two)
X(three)
#undef X
-int cmd_main(int argc, const char **argv) {
+int cmd__sigchain(int argc, const char **argv) {
sigchain_push(SIGTERM, one);
sigchain_push(SIGTERM, two);
sigchain_push(SIGTERM, three);