From: Stephan Bosch Date: Fri, 10 Apr 2020 22:40:19 +0000 (+0200) Subject: master: test-master-login-auth - Rename test_server_kill() to test_servers_kill_forced(). X-Git-Tag: 2.3.13~585 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7251f0f6d8dbfe089edcd90ef700fa1b7c116d4;p=thirdparty%2Fdovecot%2Fcore.git master: test-master-login-auth - Rename test_server_kill() to test_servers_kill_forced(). --- diff --git a/src/master/test-master-login-auth.c b/src/master/test-master-login-auth.c index 0fbe0c9075..025380fd94 100644 --- a/src/master/test-master-login-auth.c +++ b/src/master/test-master-login-auth.c @@ -884,7 +884,7 @@ static int test_open_server_fd(void) return fd; } -static void test_server_kill(void) +static void test_server_kill_forced(void) { if (server_pid != (pid_t)-1) { (void)kill(server_pid, SIGKILL); @@ -948,7 +948,7 @@ test_run_client_server(test_client_init_t *client_test, io_loop_destroy(&ioloop); i_unset_failure_prefix(); - test_server_kill(); + test_server_kill_forced(); i_unlink_if_exists(TEST_SOCKET); } @@ -967,7 +967,7 @@ static void test_signal_handler(const siginfo_t *si, void *context ATTR_UNUSED) terminating = 1; /* make sure we don't leave any pesky children alive */ - test_server_kill(); + test_server_kill_forced(); (void)unlink(TEST_SOCKET); (void)signal(signo, SIG_DFL); @@ -976,7 +976,7 @@ static void test_signal_handler(const siginfo_t *si, void *context ATTR_UNUSED) static void test_atexit(void) { - test_server_kill(); + test_server_kill_forced(); (void)unlink(TEST_SOCKET); }