File: 04_enable.t

package info (click to toggle)
libtaint-runtime-perl 0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: perl: 145; makefile: 8
file content (15 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

use Test::More tests => 4;
BEGIN { use_ok('Taint::Runtime') };

Taint::Runtime->import(qw($TAINT));

ok(! $TAINT, "Not on");

Taint::Runtime->import('enable');

ok($TAINT, "Taint is On");

Taint::Runtime->import('disable');

ok(! $TAINT, "Not on");