summaryrefslogtreecommitdiff
path: root/ext/Test-Harness/t/sample-tests/taint_warn
blob: 398d6181eecce605237b86fc3ab650662d23d7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl -tw

use lib qw(t/lib);
use Test::More tests => 1;

my $warnings = '';
{
    local $SIG{__WARN__} = sub { $warnings .= join '', @_ };
    `$^X -e1`;
}
like( $warnings, '/^Insecure dependency/', '-t honored' );