80-test_cmp_http.t: Fix resumption when skipping after mock server launch failed
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sat, 3 Apr 2021 12:25:54 +0000 (14:25 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Wed, 14 Apr 2021 17:45:45 +0000 (19:45 +0200)
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14839)

test/recipes/80-test_cmp_http.t

index 80cb6a4122a5c6f2af75031c9e434ecb7e93de3c..a8adaad96b45930bde71b4147d82c085b6c5ae2f 100644 (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;
+          }
         }
     };
 };