Subject: | Taint checking (perl -T) causes tests to fail |
CPAN.pm: Going to build P/PE/PETDANCE/Test-WWW-Mechanize-1.02.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Test::WWW::Mechanize
cp Mechanize.pm blib/lib/Test/WWW/Mechanize.pm
Manifying blib/man3/Test::WWW::Mechanize.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1/BSDPAN -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00.load...............ok 1/1# Testing Test::WWW::Mechanize 1.02
t/00.load...............ok
t/content_contains......ok 2/4Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/5.6.1/Cwd.pm line 92.
# Looks like you planned 4 tests but only ran 2.
# Looks like your test died just after 2.
t/content_contains......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/content_lacks.........ok 2/4Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/5.6.1/Cwd.pm line 92.
# Looks like you planned 4 tests but only ran 2.
# Looks like your test died just after 2.
t/content_lacks.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/link_content..........ok 2/8Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/5.6.1/Cwd.pm line 92.
# Looks like you planned 8 tests but only ran 2.
# Looks like your test died just after 2.
t/link_content..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-8
Failed 6/8 tests, 25.00% okay
t/link_status...........ok 2/7Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/5.6.1/Cwd.pm line 92.
# Looks like you planned 7 tests but only ran 2.
# Looks like your test died just after 2.
t/link_status...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-7
Failed 5/7 tests, 28.57% okay
t/links_ok..............ok 2/7Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/5.6.1/Cwd.pm line 92.
# Looks like you planned 7 tests but only ran 2.
# Looks like your test died just after 2.
t/links_ok..............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-7
Failed 5/7 tests, 28.57% okay
t/new...................ok
t/page_links_content....ok 2/8Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/5.6.1/Cwd.pm line 92.
# Looks like you planned 8 tests but only ran 2.
# Looks like your test died just after 2.
t/page_links_content....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-8
Failed 6/8 tests, 25.00% okay
t/page_links_ok.........ok 2/4Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/5.6.1/Cwd.pm line 92.
# Looks like you planned 4 tests but only ran 2.
# Looks like your test died just after 2.
t/page_links_ok.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/pod-coverage..........skipped
all skipped: Test::Pod::Coverage 0.08 required for testing POD coverage
t/pod...................skipped
all skipped: Test::Pod 1.00 required for testing POD
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/content_contains.t 255 65280 4 4 100.00% 3-4
t/content_lacks.t 255 65280 4 4 100.00% 3-4
t/link_content.t 255 65280 8 12 150.00% 3-8
t/link_status.t 255 65280 7 10 142.86% 3-7
t/links_ok.t 255 65280 7 10 142.86% 3-7
t/page_links_content.t 255 65280 8 12 150.00% 3-8
t/page_links_ok.t 255 65280 4 4 100.00% 3-4
2 tests skipped.
Failed 7/11 test scripts, 36.36% okay. 28/50 subtests failed, 44.00% okay.
*** Error code 35
Stop in /root/.cpan/build/Test-WWW-Mechanize-1.02.
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
burnt#
.
burnt# perl -v
This is perl, v5.6.1 built for i386-freebsd
burnt# uname -a
FreeBSD burnt.comradeburnout.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386