mirror of
https://git.dpkg.org/git/dpkg/dpkg-repack.git
synced 2025-04-10 16:29:37 +00:00
23 lines
361 B
Perl
23 lines
361 B
Perl
#!/usr/bin/perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use Test::More;
|
|
|
|
eval q{
|
|
use Test::Strict;
|
|
$Test::Strict::TEST_WARNINGS = 1;
|
|
};
|
|
plan skip_all => 'Test::Strict required for testing syntax' if $@;
|
|
|
|
my @files = qw(dpkg-repack.pl);
|
|
|
|
plan tests => scalar @files * 3;
|
|
|
|
for my $file (@files) {
|
|
syntax_ok($file);
|
|
strict_ok($file);
|
|
warnings_ok($file);
|
|
}
|