develooper Front page | perl.perl5.porters | Postings from March 2003

Re: [PATCH 5.8.1 @19053] Net::Ping test

Thread Previous | Thread Next
From:
Slaven Rezic
Date:
March 31, 2003 13:15
Subject:
Re: [PATCH 5.8.1 @19053] Net::Ping test
Message ID:
87k7efgrx4.fsf@vran.herceg.de
Ilya Zakharevich <ilya@Math.Berkeley.EDU> writes:

> The Net::Ping test would not support non-networked environment (I have
> loopback, but *no* daemons running).
> 
> Thanks,
> Ilya
> 
> --- ./lib/Net/Ping/t/190_alarm.t-pre	Tue Mar 11 00:13:06 2003
> +++ ./lib/Net/Ping/t/190_alarm.t	Thu Mar 27 00:04:50 2003
> @@ -49,6 +64,6 @@ eval {
>  ok 1;
>  
>  # Make sure it died for a good excuse
> -ok $@ =~ /alarm works/ or die $@;
> +ok $@ =~ /alarm works|Network\s.*unreachable/i or die $@;
>  
>  alarm 0; # Reset alarm
> 

Please look at Message-Id:
<200303281526.h2SFQCx8031405@vran.herceg.de> for an alternative patch
for the same problem. Does this work for you?

Regards,
	Slaven

-- 
Slaven Rezic - slaven@rezic.de

    tksm - Perl/Tk program for searching and replacing in multiple files
    http://ptktools.sourceforge.net/#tksm

Thread Previous | Thread Next


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