URI-1.00 test failing: data.t

Charles Sliger (chaz@reliant.com)
Wed, 27 Jan 1999 01:28:49 -0800 (PST)


I downloaded the URI code from CPAN (cpan> install URI).
The 'make test' fails in 'data.t' due to the absence of
'media_type'.  I'm not sure if this is a bug.
Please advise.
-chaz

Transcript follows...


fire:swadm> pwd
/export/home/src/perl/cpan/build/URI-1.00

fire:swadm> make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl
                  -Iblib/arch -Iblib/lib
                  -I/usr/local/lib/perl5/5.00502/i86pc-solaris
                  -I/usr/local/lib/perl5/5.00502
                  -e 'use Test::Harness qw(&runtests $verbose);
                                        $verbose=0; runtests @ARGV;' t/*.t
t/abs...............ok
t/data..............Can't locate object method "media_type"
                    via package "URI::_foreign" at t/data.t line 9.
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-21
        Failed 20/21 tests, 4.76% okay
t/file..............ok
t/generic...........ok
t/heuristic.........ok
t/http..............ok
t/mailto............ok
t/mix...............ok
t/news..............ok
t/old-absconf.......ok
t/old-base..........ok
t/old-relbase.......ok
t/pop...............ok
t/roy-test..........ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------^

t/data.t          2   512    21   20  95.24%  2-21
Failed 1/14 test scripts, 92.86% okay. 20/295 subtests failed, 93.22%
okay.
make: *** [test_dynamic] Error 29