From: Richard Levitte Date: Thu, 17 Jun 2021 08:47:26 +0000 (+0200) Subject: test/recipes/80-test_cmp_http.t: Kill the mock server brutally X-Git-Tag: openssl-3.0.0-beta1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e23206ae5604a0498c2127a71ae302c477b3a563;p=thirdparty%2Fopenssl.git test/recipes/80-test_cmp_http.t: Kill the mock server brutally To kill a subprocess with the KILL signal is pretty brutal. However, it doesn't seem to be killed completely on some platforms, which makes this test recipe hang indefinitely when (implicitly) closing the file handle for this server ($server_fh). A brutal KILL resolves this problem. Fixes #15781 Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/15797) --- diff --git a/test/recipes/80-test_cmp_http.t b/test/recipes/80-test_cmp_http.t index 10f2b84c68b..dddc1db918a 100644 --- a/test/recipes/80-test_cmp_http.t +++ b/test/recipes/80-test_cmp_http.t @@ -294,5 +294,5 @@ sub start_mock_server { sub stop_mock_server { my $pid = $_[0]; print "Killing mock server with pid=$pid\n"; - kill('QUIT', $pid); + kill('KILL', $pid); }