Rob Brown <[EMAIL PROTECTED]> writes:

> Yeah, Net::Ping is one of those modules that it is
> really good to have network connectivity to test it.
> Actually, that is Net::Ping's entire purpose, to
> determine reachabilty of a remote host across a
> network.  I felt it was appropriate to test this
> functionality within the "make test".  Plug in your
> Internet and try again.  Or else set the PERL_CORE
> environment variable to 1 before running "make test"
> again, and it should skip the network tests.

There is still a failing test with Net::Ping 2.28 that comes with
bleedperl:

t/../lib/Net/Ping/t/190_alarm..........# Failed test 6 in 
../lib/Net/Ping/t/190_alarm.t at line 48
#  ../lib/Net/Ping/t/190_alarm.t line 48 is: ok $@ =~ /alarm works/ or die $@;
tcp connect error - No route to host at ../lib/Net/Ping/t/190_alarm.t line 40
FAILED at test 6

Yes, it's a ping to 172.29.249.249 and the test is not disabled for
PERL_CORE.

> 
> Oh, and make sure you can at least ping yourself.
> 
> $ ping localhost
> 
> --
> Rob
> 

Regards,
        Slaven

> 
> ---------- Original Message ----------
> Date: Mon, 10 Feb 2003 11:10:11 +0100 (CET)
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: FAIL Net-Ping-2.28 i386-freebsd-64int 4.6-stable
> 
> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible.  See
> http://testers.cpan.org/
> 
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplicate effort.
> 
> -- 
> It seems that the failures are here because of being disconnected
> from the internet here.
> 
> PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" 
>"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/100_load...........ok
> t/110_icmp_inst......ok
>         1/2 skipped: icmp ping requires root privileges.
> t/120_udp_inst.......ok
> t/130_tcp_inst.......ok
> t/140_stream_inst....ok
> t/150_syn_inst.......ok
> t/190_alarm..........# Failed test 6 in t/190_alarm.t at line 48
> tcp connect error - No route to host at t/190_alarm.t line 40
> dubious
>       Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED test 6
>       Failed 1/6 tests, 83.33% okay
> t/200_ping_tcp.......tcp connect error - No route to host at t/200_ping_tcp.t line 55
> dubious
>       Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 6-13
>       Failed 8/13 tests, 38.46% okay
> t/250_ping_hires.....ok
> t/300_ping_stream....ok
> t/400_ping_syn.......# Failed test 4 in t/400_ping_syn.t at line 83
> CANNOT RESOLVE www.yahoo.com. 
> # Failed test 5 in t/400_ping_syn.t at line 83 fail #2
> CANNOT RESOLVE www.freeservers.com. 
> # Failed test 6 in t/400_ping_syn.t at line 83 fail #3
> CANNOT RESOLVE yahoo.com. 
> # Failed test 7 in t/400_ping_syn.t at line 83 fail #4
> CANNOT RESOLVE www.geocities.com. 
> # Failed test 8 in t/400_ping_syn.t at line 83 fail #5
> CANNOT RESOLVE www.about.com. 
> # Failed test 10 in t/400_ping_syn.t at line 83 fail #7
> CANNOT RESOLVE www.microsoft.com. 
> # Failed test 13 in t/400_ping_syn.t at line 98
> DOWN: http://www.yahoo.com./ []
> # Failed test 14 in t/400_ping_syn.t at line 98 fail #2
> DOWN: http://www.freeservers.com./ []
> # Failed test 15 in t/400_ping_syn.t at line 98 fail #3
> DOWN: http://yahoo.com./ []
> # Failed test 16 in t/400_ping_syn.t at line 98 fail #4
> DOWN: http://www.geocities.com./ []
> # Failed test 17 in t/400_ping_syn.t at line 98 fail #5
> DOWN: http://www.about.com./ []
> # Failed test 19 in t/400_ping_syn.t at line 98 fail #7
> DOWN: http://www.microsoft.com./ []
> FAILED tests 4-8, 10, 13-17, 19
>       Failed 12/19 tests, 36.84% okay
> t/410_syn_host.......# Failed test 4 in t/410_syn_host.t at line 85
> CANNOT RESOLVE www.yahoo.com. 
> # Failed test 5 in t/410_syn_host.t at line 85 fail #2
> CANNOT RESOLVE www.freeservers.com. 
> # Failed test 6 in t/410_syn_host.t at line 85 fail #3
> CANNOT RESOLVE yahoo.com. 
> # Failed test 7 in t/410_syn_host.t at line 85 fail #4
> CANNOT RESOLVE www.geocities.com. 
> # Failed test 8 in t/410_syn_host.t at line 85 fail #5
> CANNOT RESOLVE www.about.com. 
> # Failed test 10 in t/410_syn_host.t at line 85 fail #7
> CANNOT RESOLVE www.microsoft.com. 
> ack called on [www.about.com.] without calling ping first! at t/410_syn_host.t line 
>92
> dubious
>       Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 4-8, 10, 14-19
>       Failed 12/19 tests, 36.84% okay
> t/450_service........ok
> t/500_ping_icmp......ok
>         1/2 skipped: icmp ping requires root privileges.
> Failed 4/14 test scripts, 71.43% okay. 33/126 subtests failed, 73.81% okay.
> Failed Test      Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/190_alarm.t     255 65280     6    1  16.67%  6
> t/200_ping_tcp.t  255 65280    13    8  61.54%  6-13
> t/400_ping_syn.t               19   12  63.16%  4-8 10 13-17 19
> t/410_syn_host.t  255 65280    19   12  63.16%  4-8 10 14-19
> 2 subtests skipped.
> *** Error code 25
> 
> Stop in /usr/local/src/CPAN/build/Net-Ping-2.28.
> 
> --
> 
> Summary of my perl5 (revision 5.0 version 8 subversion 0 patch 17639) configuration:
>   Platform:
>     osname=freebsd, osvers=4.6-stable, archname=i386-freebsd-64int
>     uname='freebsd vran.herceg.de 4.6-stable freebsd 4.6-stable #13: wed jun 26 
>00:09:05 cest 2002 [EMAIL PROTECTED]:usrlocalsrcfreebsd-4srcsyscompilevran i386 '
>     config_args='-Dprefix=/usr/perl5.8.0 -D usedevel=define -Dusemorebits -de'
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
>     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>     use64bitint=define use64bitall=undef uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing 
>-I/usr/local/include',
>     optimize='-O2 -mpentium -pipe',
>     cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing 
>-I/usr/local/include'
>     ccversion='', gccversion='2.95.4 20020320 [FreeBSD]', gccosandvers=''
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
>     ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
>lseeksize=8
>     alignbytes=4, prototype=define
>   Linker and Libraries:
>     ld='cc', ldflags ='-Wl,-E  -L/usr/local/lib'
>     libpth=/usr/lib /usr/local/lib
>     libs=-lgdbm -ldb -lm -lc -lcrypt -lutil
>     perllibs=-lm -lc -lcrypt -lutil
>     libc=, so=so, useshrplib=false, libperl=libperl.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-DPIC -fpic', lddlflags='-shared  -L/usr/local/lib'
> 
> 

-- 
Slaven Rezic - [EMAIL PROTECTED]

    tkruler - Perl/Tk program for measuring screen distances
    http://ptktools.sourceforge.net/#tkruler

Reply via email to