mirror of
https://github.com/curl/curl.git
synced 2026-06-08 04:44:15 +03:00
test971.pl: enable strict/warnings, fix them
This commit is contained in:
parent
31e8d11aee
commit
bc1e0cf561
1 changed files with 9 additions and 0 deletions
|
|
@ -29,12 +29,19 @@
|
|||
# $cmddir
|
||||
#
|
||||
|
||||
use strict;
|
||||
use warnings 'FATAL' => 'all';
|
||||
|
||||
use allversions;
|
||||
|
||||
my $opts = $ARGV[0];
|
||||
my $cmddir = $ARGV[1];
|
||||
my $versions = $ARGV[2];
|
||||
|
||||
my %file;
|
||||
my %oiv;
|
||||
my $error = 0;
|
||||
|
||||
sub cmdfiles {
|
||||
my ($dir)=@_;
|
||||
|
||||
|
|
@ -93,6 +100,8 @@ sub versioncheck {
|
|||
close($fh);
|
||||
}
|
||||
|
||||
my %pastversion;
|
||||
|
||||
# get all the past versions
|
||||
allversions($versions);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue