Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t0030-stripspace.sh: use the $( ... ) construct for command substitution
[gitweb.git]
/
test-run-command.c
diff --git
a/test-run-command.c
b/test-run-command.c
index 0612bfa7cd1909c8c4292b384fd7a56b8baf3c2a..37918e15f5ce06d0079ce09ae1a7be7b14533c48 100644
(file)
--- 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;