diff options
Diffstat (limited to 't/helper/test-sigchain.c')
-rw-r--r-- | t/helper/test-sigchain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/helper/test-sigchain.c b/t/helper/test-sigchain.c index b71edbd442..d013bccdda 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,8 @@ 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); |