Re: URI 1.03 fails selftest
Gisle Aas (gisle@aas.no)
22 Jul 1999 16:41:21 +0200
Ben Laurie <ben@algroup.co.uk> writes:
> The following patch fixes it:
>
> --- t/heuristic.t.orig Tue Jul 20 14:46:56 1999
> +++ t/heuristic.t Tue Jul 20 14:45:14 1999
> @@ -40,7 +40,7 @@
> if (gethostbyname("www.netscape.com")) {
> # DNS probably work, lets run test 6..8
>
> - $URI::Heuristic::MY_COUNTRY = "no";
> + $URI::Heuristic::MY_COUNTRY = undef;
> print "not " unless uf_urlstr("perl/camel.gif") eq
> "http://www.perl.com/camel.gif";
> print "ok 6\n";
>
> "no" is Norway, of course...
What did this patch fix. This test rely on the fact that
'www.perl.no' can't be resolved.
Regards,
Gisle