]> git.ipfire.org Git - thirdparty/openssl.git/commit
Prevent 80-test_cmp_http from accidentally killing perl in error.
authorRandall S. Becker <randall.becker@nexbridge.ca>
Thu, 7 Sep 2023 19:42:10 +0000 (20:42 +0100)
committerPauli <pauli@openssl.org>
Sun, 10 Sep 2023 23:08:35 +0000 (09:08 +1000)
commitc499cbc3239e3ac93fa5acf85cec7ea7df116518
tree11dfd3695a7dbe0607e387c609edaaea69e42326
parent9a41a3c6a453a90d6c6cf106480a4a72b08b14f9
Prevent 80-test_cmp_http from accidentally killing perl in error.

If there is an issue with setting up the test environment in this test,
pid is not set so stop_server kills the perl process. A guard has been
added to prevent this situation.

Fixes: #22014
Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22015)
test/recipes/80-test_cmp_http.t