Code Comments
Programming Forum and web based access to our favorite programming groups.bfay@deepcosmos.ca (Bern) wrote in message news:<836bef72.0409191956.5f33ef36@posting.googl
e.com>...
> I got errors while trying to get the URI module.
>
> Failed 1/15 tests, 93.33% okay
[snip]
> Failed Test Stat Wstat Total Fail Failed List of Failed
> --------------------------------------------------------------------------
-----
> t/heuristic.t 15 1 6.67% 7
> 1 test skipped.
> Failed 1/31 test scripts, 96.77% okay. 1/466 subtests failed, 99.79%
> okay.
> make: *** [test_dynamic] Error 255
> /usr/bin/make test -- NOT OK
> Running make install
> make test had returned bad status, won't install without force
>
>
> How can we fix this problem?
I get the same failure testing on MSWin32, Perl 5.8.0.
Checking the test suite, test 7 under heuristic reads:
$URI::Heuristic::MY_COUNTRY = "uk";
print "not " unless uf_urlstr("perl/camel.gif") =~
m,^http://www\.perl\.(org|co)\.uk/camel\.gif$,;
print "ok 7\n";
I don't have time at the moment to go through the code thoroughly, but
the test may be failing because neither of the URIs possible from
inside the pattern are currently available:
http://www.perl.co.uk/camel.gif
http://www.perl.org.uk/camel.gif
Jim Keenan
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.