1
0
mirror of https://git.dpkg.org/git/dpkg/dpkg-repack.git synced 2025-04-10 16:29:37 +00:00
Files
dpkg-repack/t/syntax.t
Guillem Jover 83bcecff29 build: Replace the program version at install time
This removes one more thing to keep in sync when releasing a new
version.
2022-01-15 23:00:12 +01:00

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);
}