Michael Gale wrote:
> Hey,

Hello,

>     Thanks I discovered the same thing this morning, in the test
> directory (/t) there is a README that stats the loop test waits for 10
> packets to be received to finish.
> 
> So by generating network traffic it finished.
> 
> My stats test did fail, for now I just ran a force install, but I am
> open to suggestions.

It looks like the author is expecting the %stats hash to accumulate the
stats between test runs but on my system $stats{ ps_recv } always
contains 1 so I changed the line:

        if ( $count != $stats{ ps_recv } ) {

To:

        if ( 1 != $stats{ ps_recv } ) {

in the 07-stats.t file.  HTH


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to