80-test_cmp_http.t: Fix resumption when skipping after mock server launch failed

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14839)
This commit is contained in:
Dr. David von Oheimb 2021-04-03 14:25:54 +02:00 committed by Dr. David von Oheimb
parent aed03a1209
commit c6df354c2a

View File

@ -180,6 +180,7 @@ indir data_dir() => sub {
$server_name = chop_dblquot($server_name);
load_config($server_name, $server_name);
{
SKIP: {
my $pid;
if ($server_name eq "Mock") {
indir "Mock" => sub {
@ -198,6 +199,7 @@ indir data_dir() => sub {
};
};
stop_mock_server($pid) if $pid;
}
}
};
};