develooper Front page | perl.libwww | Postings from August 2001

Re: URI-1.12 fails test heuristic.1 on cygwin - harness issue?

Thread Previous
From:
Gerrit P. Haase
Date:
August 27, 2001 10:02
Subject:
Re: URI-1.12 fails test heuristic.1 on cygwin - harness issue?
Message ID:
3B8A97FC.14042.1C46481@localhost
> david@carter.net schrieb am 2001-05-30 16:17:

>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

This fails too with the new perl on cygwin. But it doesn't faisl if
the test is run seperately. Only fails if running during make test...

Gerrit

>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:gisle@aas.no
>uf_uristr: ==> mailto:gisle@aas.no ok 11 uf_uristr: resolving gisle@aas.no
>uf_uristr: ==> mailto:gisle@aas.no ok 12 uf_uristr: resolving
>Gisle.Aas@aas.perl.org uf_uristr: ==> mailto:Gisle.Aas@aas.perl.org ok 13
>uf_uristr: resolving gopher.sn.no uf_uristr: ==> gopher://gopher.sn.no ok 14
>
>Any suggestions appreciated.
>
>--
>David Carter
>david@carter.net
>



-- 
gerrit.haase@convey.de

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About