]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: test-http-server-errors - Rename test_clients_kill_all() to test_clients_ki...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 6 Apr 2020 19:59:55 +0000 (21:59 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 22 May 2020 08:42:33 +0000 (08:42 +0000)
src/lib-http/test-http-server-errors.c

index 8a16628c6d47a7ea6ffaa4f08b4f1dd899620937..1d1f5e6592211768d09b29e7c029277349179ac5 100644 (file)
@@ -919,7 +919,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;
 
@@ -996,7 +996,7 @@ test_run_client_server(const struct http_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);
 }
 
@@ -1015,7 +1015,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);
@@ -1023,7 +1023,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)