bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] testsuite for poll(2)


From: Yoann Vandoorselaere
Subject: Re: [PATCH] testsuite for poll(2)
Date: Tue, 16 Sep 2008 09:46:21 +0200

Le lundi 15 septembre 2008 à 21:21 +0200, Paolo Bonzini a écrit :
> > The poll-tests module that is now available in the GnuLib repository
> > currently fail on OpenBSD:
> > 
> > Unconnected socket test... failed (huh, connect succeeded?)
> > Connected sockets test... failed (huh, connect succeeded?)
> 
> Uhm, this means O_NONBLOCK sockets do not work there?

To me, this rather look like a bug in connect_to_socket(), which assume
that connecting a non blocking socket should never succeed on first try.
Where does this assumption come from? 


> > failed (expecting POLLHUP after shutdown)
> > General socket test with fork... failed (expecting POLLHUP after
> > shutdown)
> 
> This is the same failure more or less.
> 
> > Pipe test... passed
> 
> At least. :-)
> 
> Is there something like strace?  Can you run it?

Unfortunately, I have no direct access to the OpenBSD machine: it's a
contributor build bot that compile and launch available code and
unit-tests, then report us the results.

-- 
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)8 70 70 21 58                  Fax: +33(0)4 78 42 21 58
http://www.prelude-ids.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]