X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test-run-command.c;h=37918e15f5ce06d0079ce09ae1a7be7b14533c48;hb=3ff999e16bd12f10a2bd5ee464ba8b5f1725866d;hp=0612bfa7cd1909c8c4292b384fd7a56b8baf3c2a;hpb=c444c16589f95ac22d8e3ffe603cd7f0613512ce;p=git.git diff --git a/test-run-command.c b/test-run-command.c index 0612bfa7c..37918e15f 100644 --- a/test-run-command.c +++ b/test-run-command.c @@ -29,6 +29,8 @@ int main(int argc, char **argv) fprintf(stderr, "FAIL %s\n", argv[1]); return 1; } + if (!strcmp(argv[1], "run-command")) + exit(run_command(&proc)); fprintf(stderr, "check usage\n"); return 1;