☰
Debian Codegraph
@
5.42.3-1
5.42.2-3
5.40.1-8
/
/
cpan
/
Test-Harness
/
t
/
sample-tests
/
taint_warn
☽
☼
cpan/Test-Harness/t/sample-tests/taint_warn
code
plain
raw
GPL-1+
or
Artistic
Copyright (c) 2007-2011, Andy Armstrong <
[email protected]
>. All rights reserved.
debian/copyright
1
#!/usr/bin/perl -tw
2
3
use lib qw(t/lib);
4
use Test::More tests => 1;
5
6
my $warnings = '';
7
{
8
local $SIG{__WARN__} = sub { $warnings .= join '', @_ };
9
`$^X -e1`;
10
}
11
like( $warnings, '/^Insecure dependency/', '-t honored' );