]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: test-smtp-server-errors - Rename test_clients_kill_all() to test_clients_ki...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 8 Apr 2020 22:23:46 +0000 (00:23 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 25 May 2020 15:29:02 +0000 (17:29 +0200)
src/lib-smtp/test-smtp-server-errors.c

index 1175c4ee5953118ec622b6e4336fff86273aae81..48a1c053786a4721727dea5f43235dd4d7539b46 100644 (file)
@@ -2955,7 +2955,7 @@ static int test_open_server_fd(void)
        return fd;
 }
 
-static void test_clients_kill_all(void)
+static void test_clients_kill_forced(void)
 {
        unsigned int i;
 
@@ -3040,7 +3040,7 @@ test_run_client_server(const struct smtp_server_settings *server_set,
 
        i_unset_failure_prefix();
        i_close_fd(&fd_listen);
-       test_clients_kill_all();
+       test_clients_kill_forced();
        i_free(client_pids);
 }
 
@@ -3059,7 +3059,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_clients_kill_all();
+       test_clients_kill_forced();
 
        (void)signal(signo, SIG_DFL);
        raise(signo);
@@ -3067,7 +3067,7 @@ static void test_signal_handler(const siginfo_t *si, void *context ATTR_UNUSED)
 
 static void test_atexit(void)
 {
-       test_clients_kill_all();
+       test_clients_kill_forced();
 }
 
 static void main_init(void)