summaryrefslogtreecommitdiff
path: root/test-run-command.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-05-06 11:01:04 -0700
committerJunio C Hamano <gitster@pobox.com>2011-05-06 11:01:04 -0700
commit3970fc5512ac52e798579cf734957a2fac852cfd (patch)
treea90d3cf7863dde8ea13a558a4edd0ff27aaa0577 /test-run-command.c
parent606ee4be54b5ef3c8593a71b4b1bd6b4ee2d323d (diff)
parenta111eb7808bfdb90286e54b9ccdaea4f3bec3102 (diff)
Merge branch 'jn/run-command-error-failure'
* jn/run-command-error-failure: run-command: handle short writes and EINTR in die_child tests: check error message from run_command
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 0612bfa7cd..37918e15f5 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;