File: taint_warn

package info (click to toggle)
libtest-harness-perl 3.52-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,764 kB
  • sloc: perl: 18,954; sh: 18; makefile: 7
file content (11 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (15)
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' );