diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-02-23 05:51:47 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-02-23 05:51:47 -0500 |
commit | 2f17a37c23a39571678e7d7244d99c1fc2672b40 (patch) | |
tree | a091b5b3c058393378a5072c85a0b2f97e74f9a9 | |
parent | b9aa10efcb03c08a4a655ea2b5559bb069de3fb1 (diff) | |
download | libgit2-2f17a37c23a39571678e7d7244d99c1fc2672b40.tar.gz |
process: test SIGTERM with cat
Use something that will wait (eg `cat`) instead of something that
completes basically immediately (eg `echo`) so that we have a chance to
actually kill the process.
-rw-r--r-- | tests/util/process/start.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/process/start.c b/tests/util/process/start.c index 5de908776..f7a34c0e2 100644 --- a/tests/util/process/start.c +++ b/tests/util/process/start.c @@ -141,7 +141,7 @@ void test_process_start__redirect_stdio(void) void test_process_start__catch_sigterm(void) { #ifndef GIT_WIN32 - const char *args_array[] = { helloworld_cmd.ptr }; + const char *args_array[] = { "/bin/cat" }; git_process *process; git_process_options opts = GIT_PROCESS_OPTIONS_INIT; |