make test runs this cmd:
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/cygwin
-I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0;
runtests @ARGV;' t/*.t
It fails test 1 in t/heuristic.t
Simplified by removing other tests, but still fails:
DCarter@DCARTER ~/.cpan/build/URI-1.12
$ PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1
/cygwin -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $v
erbose=0; runtests @ARGV;' t/heuristic.t
t/heuristic.........domainname: not found
t/heuristic.........FAILED test 1
Failed 1/14 tests, 92.86% okay
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/heuristic.t 14 1 7.14% 1
Failed 1/1 test scripts, 0.00% okay. 1/14 subtests failed, 92.86% okay.
Works(!) with Test::Harness out of the picture:
DCarter@DCARTER ~/.cpan/build/URI-1.12
$ PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1
/cygwin -I/usr/lib/perl5/5.6.1 t/heuristic.t
domainname: not found
1..14
uf_uristr: resolving http://www.sn.no/
uf_uristr: ==> http://www.sn.no/
ok 1
uf_uristr: resolving /etc/passwd
uf_uristr: ==> file:/etc/passwd
ok 2
uf_uristr: resolving ./foo.txt
uf_uristr: ==> file:./foo.txt
ok 3
uf_uristr: resolving ftp.aas.no/lwp.tar.gz
uf_uristr: ==> ftp://ftp.aas.no/lwp.tar.gz
ok 4
uf_uristr: resolving C:\CONFIG.SYS
uf_uristr: ==> file:C:\CONFIG.SYS
ok 5
uf_uristr: resolving perl/camel.gif
uf_uristr: gethostbyname('www.perl.bv')...no
uf_uristr: gethostbyname('www.perl.com')...yes
uf_uristr: ==> http://www.perl.com/camel.gif
ok 6
uf_uristr: resolving perl/camel.gif
uf_uristr: gethostbyname('www.perl.co.uk')...yes
uf_uristr: ==> http://www.perl.co.uk/camel.gif
ok 7
uf_uristr: resolving perl
uf_uristr: gethostbyname('www.perl.org')...yes
uf_uristr: ==> http://www.perl.org
ok 8
uf_uristr: resolving perl
uf_uristr: ==> http://perl
ok 9
uf_uristr: resolving http:80
uf_uristr: ==> http:80
ok 10
uf_uristr: resolving mailto:[EMAIL PROTECTED]
uf_uristr: ==> mailto:[EMAIL PROTECTED]
ok 11
uf_uristr: resolving [EMAIL PROTECTED]
uf_uristr: ==> mailto:[EMAIL PROTECTED]
ok 12
uf_uristr: resolving [EMAIL PROTECTED]
uf_uristr: ==> mailto:[EMAIL PROTECTED]
ok 13
uf_uristr: resolving gopher.sn.no
uf_uristr: ==> gopher://gopher.sn.no
ok 14
Any suggestions appreciated.
--
David Carter
[EMAIL PROTECTED]