summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/pragma/strict.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/pragma/strict.t')
-rwxr-xr-xcontrib/perl5/t/pragma/strict.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/perl5/t/pragma/strict.t b/contrib/perl5/t/pragma/strict.t
index c4d6416..5b245d0 100755
--- a/contrib/perl5/t/pragma/strict.t
+++ b/contrib/perl5/t/pragma/strict.t
@@ -2,7 +2,7 @@
BEGIN {
chdir 't' if -d 't';
- unshift @INC, '../lib';
+ @INC = '../lib';
$ENV{PERL5LIB} = '../lib';
}
@@ -19,7 +19,7 @@ my @prgs = () ;
foreach (sort glob("pragma/strict-*")) {
- next if /(~|\.orig)$/;
+ next if /(~|\.orig|,v)$/;
open F, "<$_" or die "Cannot open $_: $!\n" ;
while (<F>) {
OpenPOWER on IntegriCloud