File: deps.t

package info (click to toggle)
libcpan-audit-perl 20250829.001-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 336 kB
  • sloc: perl: 909; makefile: 8
file content (18 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use strict;
use warnings;
use lib 't/lib';
use Test::More;
use TestCommand;

# exclude CVE-2011-4116 explicitly. It's a known issue in File::Temp wrt symlinks.
# It should be safe to use the module the way we use it though.
subtest 'command: deps' => sub {
    my ( $stdout, $stderr, $exit ) =
    	TestCommand->command('deps', '.', '--exclude', 'CVE-2011-4116');

    like $stderr, qr/Discovered \d+ dependencies/;
    is "$stdout",   '';
    is $exit,     0;
};

done_testing;