]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: test-smtp-submit - Rename test_servers_kill_all() to test_servers_kill_forc...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 9 Apr 2020 09:05:10 +0000 (11:05 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 25 May 2020 15:29:02 +0000 (17:29 +0200)
src/lib-smtp/test-smtp-submit.c

index 48e172ef472840fcdf0ce2c5aa93f4d6d555dc0e..2ebf960bcac47dd6028559714a67ec03be242b6e 100644 (file)
@@ -1993,7 +1993,7 @@ static int test_open_server_fd(in_port_t *bind_port)
        return fd;
 }
 
-static void test_servers_kill_all(void)
+static void test_servers_kill_forced(void)
 {
        unsigned int i;
 
@@ -2151,7 +2151,7 @@ test_run_client_server(const struct smtp_submit_settings *submit_set,
        io_loop_destroy(&ioloop);
 
        i_unset_failure_prefix();
-       test_servers_kill_all();
+       test_servers_kill_forced();
        i_free(server_pids);
        i_free(bind_ports);
        test_tmp_dir_deinit();
@@ -2172,7 +2172,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_servers_kill_all();
+       test_servers_kill_forced();
 
        (void)signal(signo, SIG_DFL);
        raise(signo);
@@ -2180,7 +2180,7 @@ static void test_signal_handler(const siginfo_t *si, void *context ATTR_UNUSED)
 
 static void test_atexit(void)
 {
-       test_servers_kill_all();
+       test_servers_kill_forced();
 }
 
 static void main_init(void)