diff options
Diffstat (limited to 't/helper/test-run-command.c')
-rw-r--r-- | t/helper/test-run-command.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/t/helper/test-run-command.c b/t/helper/test-run-command.c index a701689bd5..8579b1f7d1 100644 --- a/t/helper/test-run-command.c +++ b/t/helper/test-run-command.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation. */ +#include "test-tool.h" #include "git-compat-util.h" #include "run-command.h" #include "argv-array.h" @@ -77,7 +78,7 @@ static int quote_stress_test(int argc, const char **argv) OPT_END() }; const char * const usage[] = { - "test-run-command quote-stress-test <options>", + "test-tool run-command quote-stress-test <options>", NULL }; @@ -95,7 +96,7 @@ static int quote_stress_test(int argc, const char **argv) argv_array_pushl(&args, "sh", "-c", "printf %s\\\\0 \"$@\"", "skip", NULL); else - argv_array_pushl(&args, "test-run-command", + argv_array_pushl(&args, "test-tool", "run-command", "quote-echo", NULL); arg_offset = args.argc; @@ -177,7 +178,7 @@ static int quote_echo(int argc, const char **argv) return 0; } -int cmd_main(int argc, const char **argv) +int cmd__run_command(int argc, const char **argv) { struct child_process proc = CHILD_PROCESS_INIT; int jobs; |