t/helper: merge test-run-command 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>
This commit is contained in:
Nguyễn Thái Ngọc Duy
2018-03-24 08:44:55 +01:00
committed by Junio C Hamano
parent 77d4b8c832
commit ae6a51f5a1
5 changed files with 17 additions and 14 deletions

View File

@ -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"
@ -49,7 +50,7 @@ static int task_finished(int result,
return 1;
}
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;