File: taint.t

package info (click to toggle)
libdata-compare-perl 0.13-1.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 104 kB
  • ctags: 15
  • sloc: perl: 329; makefile: 43
file content (14 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!perl -Tw

use strict;

use Data::Compare;

print "1..1\n";

my $test = 0;

# in taint mode there should be no plugins

print "not " unless(Compare({}, Data::Compare::plugins()));
print 'ok '.(++$test)." plugins disabled in taint mode\n";