Re: event fails test 5 in callback

[email protected] (Joshua N Pritikin)
Newsgroups perl.loop
Message-ID <[email protected]>
On Tue, Dec 19, 2000 at 12:37:25PM -0500, [email protected] wrote:
> just updated to event .80  on both solaris and linux. they both show a
> failure of test 5 of the callback tests. this of course makes CPAN.pm
> fail to install without force.

Test 5 of callback looks suspicious.  Can you try the attached patch?

Uri, are you using Event without Time::HiRes?

-- 
May the best description of competition prevail.
      (via, but not speaking for Deutsche Bank)
cb (text/plain, 407 B)
==== //depot/D/Event/t/callback.t#6 - /data/ise/.j/D/Event/t/callback.t ====
--- /tmp/tmp.27840.0	Wed Jan 10 10:41:31 2001
+++ /data/ise/.j/D/Event/t/callback.t	Wed Jan 10 10:41:16 2001
@@ -29,6 +29,10 @@
 	ok $run->w->desc, 'nomethod';
 	ok $err, '/object method/';
     };
+    local $SIG{__WARN__} = sub {};
+    Event::loop();
+}
+{
     my $warn='';
     local $SIG{__WARN__} = sub {
 	$warn .= $_[0];
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.