diff --git a/tests/test1275.pl b/tests/test1275.pl index e5f54c627e..fd8bbfc0f4 100755 --- a/tests/test1275.pl +++ b/tests/test1275.pl @@ -23,6 +23,9 @@ # ########################################################################### +use strict; +use warnings 'FATAL' => 'all'; + my $root=$ARGV[0] || ".."; my @m = `git ls-files -- $root`; @@ -45,7 +48,7 @@ sub checkfile { } open(my $fh, "<", "$f"); my $l; - my $prevl; + my $prevl = ''; my $ignore = 0; my $metadata = 0; while(<$fh>) {