add unlink / start with a clean state

... good when running "prove -v" locally and previously
the run was interrrupted by e.g. ^C
This commit is contained in:
Dirk
2020-01-18 21:47:44 +01:00
parent cb6677e2d3
commit f109d3bbd6
3 changed files with 3 additions and 0 deletions

View File

@ -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)";