/usr/share/doc/libtest-distmanifest-perl/examples/checkmanifest.t is in libtest-distmanifest-perl 1.014-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # examples/checkmanifest.t
# Ensures MANIFEST file is up-to-date
use strict;
use warnings;
use Test::More;
use Test::DistManifest;
unless ($ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING}) {
plan skip_all => 'Author tests not required for installation';
}
my %MODULES = (
'Test::DistManifest' => 1.002002,
'Module::Manifest' => 0.07,
);
while (my ($module, $version) = each %MODULES) {
eval "use $module $version";
next unless $@;
if ($ENV{RELEASE_TESTING}) {
die 'Could not load release-testing module ' . $module;
}
else {
plan skip_all => $module . ' not available for testing';
}
}
manifest_ok();
|