81-test_cmp_cli.t: Stop unlinking test output files according to #11080
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sat, 29 Aug 2020 07:22:07 +0000 (09:22 +0200)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 10 Sep 2020 05:35:07 +0000 (07:35 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12655)

test/recipes/81-test_cmp_cli.t

index fa70c84981797dcc4564e643b8d816c3f8b515e6..001b9c66e3d67a7062c7863a14d77797b4ccf8aa 100644 (file)
@@ -65,7 +65,7 @@ my @cmp_basic_tests = (
 );
 
 my $rsp_cert = "signer_only.crt";
-my $outfile = "test.cert.pem";
+my $outfile = "test.certout.pem";
 my $secret = "pass:test";
 
 # this uses the mock server directly in the cmp app, without TCP
@@ -87,7 +87,7 @@ sub use_mock_srv_internally
                 "-certout" , $outfile]))
        && compare_text($outfile, $rsp_cert) == 0,
        "CMP app with -use_mock_srv and -poll_count 1");
-    unlink $outfile;
+    # not unlinking $outfile
 }
 
 # the CMP server configuration consists of:
@@ -200,7 +200,7 @@ sub test_cmp_cli_aspect {
             }
         }
     };
-    unlink "test.cert.pem", "test.cacerts.pem", "test.extracerts.pem";
+    # not unlinking "test.cert.pem", "test.cacerts.pem", "test.extracerts.pem"
 }
 
 indir data_dir() => sub {