diff options
| author | Junio C Hamano <gitster@pobox.com> | 2011-05-29 19:08:51 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2011-05-29 19:08:51 -0700 |
| commit | 144dfc5c63dfe829aafdb2cba3bd549600b6008b (patch) | |
| tree | 0f8f64b28722ff123c942552ec59265f330a9c0f /test-run-command.c | |
| parent | Git 1.7.5.3 (diff) | |
| parent | run-command: handle short writes and EINTR in die_child (diff) | |
| download | git-144dfc5c63dfe829aafdb2cba3bd549600b6008b.tar.gz git-144dfc5c63dfe829aafdb2cba3bd549600b6008b.zip | |
Merge branch 'jn/run-command-error-failure' into maint
* 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.c | 2 |
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; |
