From 2f17a37c23a39571678e7d7244d99c1fc2672b40 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 23 Feb 2023 05:51:47 -0500 Subject: 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. --- tests/util/process/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1