diff --git a/t/07_isJSON_valid.t b/t/07_isJSON_valid.t index abba0f4..26814b8 100755 --- a/t/07_isJSON_valid.t +++ b/t/07_isJSON_valid.t @@ -22,6 +22,7 @@ die "Unable to open $prg" unless -f $prg; my $uri="cloudflare.com"; printf "\n%s\n", "Unit testing JSON output ..."; +unlink 'tmp.json'; #1 printf "%s\n", ".. plain JSON --> $uri "; diff --git a/t/08_isHTML_valid.t b/t/08_isHTML_valid.t index f8877a8..4642435 100755 --- a/t/08_isHTML_valid.t +++ b/t/08_isHTML_valid.t @@ -19,6 +19,7 @@ my $check2run="--color 0 --htmlfile tmp.html"; die "Unable to open $prg" unless -f $prg; printf "\n%s\n", "Doing HTML output checks"; +unlink 'tmp.html'; #1 printf "%s\n", " .. running $prg against $uri to create HTML and terminal outputs (may take 2~3 minutes)"; diff --git a/t/09_isJSON_severitylevel_valid.t b/t/09_isJSON_severitylevel_valid.t index ab78d94..e39d6ab 100755 --- a/t/09_isJSON_severitylevel_valid.t +++ b/t/09_isJSON_severitylevel_valid.t @@ -17,6 +17,7 @@ $tests = 0; printf "\n%s\n", "Doing severity level checks"; +unlink 'tmp.json'; #1 pass(" .. running testssl.sh against badssl.com to create a JSON report with severity level equal greater than LOW (may take 2~3 minutes)"); $tests++;