aboutsummaryrefslogtreecommitdiff
path: root/test-run-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-run-command.c')
-rw-r--r--test-run-command.c2
1 files changed, 2 insertions, 0 deletions
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;