From 603f03e79a76289df74057bdd8f5ffad29b68cca Mon Sep 17 00:00:00 2001 From: David Cooper Date: Wed, 29 Mar 2017 11:43:03 -0400 Subject: [PATCH] Remove tmp.json files after use Remove tmp.json files after use so that testssl.sh doesn't complain that they already exist. --- t/11_hpkp.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/11_hpkp.t b/t/11_hpkp.t index b701558..dc5464b 100755 --- a/t/11_hpkp.t +++ b/t/11_hpkp.t @@ -16,6 +16,7 @@ my ( pass("Running testssl.sh against ssl.sectionzero.org"); $tests++; $out = `./testssl.sh -H --jsonfile tmp.json --color 0 ssl.sectionzero.org`; $json = json('tmp.json'); +unlink 'tmp.json'; # It is better to have findings in a hash # Look for a host cert match in the process.