]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: test-http-payload - Rename test_server_kill() to test_server_kill_forced().
authorStephan Bosch <stephan.bosch@open-xchange.com>
Sat, 4 Apr 2020 10:42:03 +0000 (12:42 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 22 May 2020 08:42:33 +0000 (08:42 +0000)
src/lib-http/test-http-payload.c

index 69ef541010a352398635eb3015f0ea904875c31d..c1fa0c926454987d29268ade92d81f0f7dd542f4 100644 (file)
@@ -1593,7 +1593,7 @@ static void test_open_server_fd(void)
        net_set_nonblock(fd_listen, TRUE);
 }
 
-static void test_server_kill(void)
+static void test_server_kill_forced(void)
 {
        if (server_pid != (pid_t)-1) {
                (void)kill(server_pid, SIGKILL);
@@ -1655,7 +1655,7 @@ test_run_client_server(
        io_loop_run(ioloop);
        test_client_deinit();
        io_loop_destroy(&ioloop);
-       test_server_kill();
+       test_server_kill_forced();
 
        test_files_deinit();
 }
@@ -2247,7 +2247,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)signal(signo, SIG_DFL);
        raise(signo);
@@ -2255,7 +2255,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();
 }
 
 static void main_init(void)