File: 09_manifest_files.t

package info (click to toggle)
libtest-checkmanifest-perl 1.43-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: perl: 773; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env perl

use strict;
use warnings;

use File::Basename;
use File::Spec;
use Test::More;
use Test::CheckManifest;

use Cwd;

local $ENV{NO_MANIFEST_CHECK} = 1;

my $sub = Test::CheckManifest->can('_manifest_files');
ok $sub;

my $dir = dirname __FILE__;
my $manifest = File::Spec->catfile( $dir, '..', 'MANIFEST' );

my @files = $sub->( $dir, $manifest );
ok @files;

done_testing();