diff options
author | Richard Levitte <levitte@openssl.org> | 2021-06-17 10:47:26 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-06-17 11:38:48 +0200 |
commit | e23206ae5604a0498c2127a71ae302c477b3a563 (patch) | |
tree | 9af7c1595c9224092f613fbbf9b58a703ec4218d /test | |
parent | gost: remove the internal GOST test. (diff) | |
download | openssl-e23206ae5604a0498c2127a71ae302c477b3a563.tar.xz openssl-e23206ae5604a0498c2127a71ae302c477b3a563.zip |
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 <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15797)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/80-test_cmp_http.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recipes/80-test_cmp_http.t b/test/recipes/80-test_cmp_http.t index 10f2b84c68..dddc1db918 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); } |