bug-gnulib
[Top][All Lists]
Advanced

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

Re: poll test failure on Cygwin


From: Paolo Bonzini
Subject: Re: poll test failure on Cygwin
Date: Mon, 15 Mar 2010 07:57:32 +0100

On Sun, Mar 14, 2010 at 23:33, Bruno Haible <address@hidden> wrote:
> Hi Paolo, Eric,
>
> On Cygwin 1.5.x the 'poll' test fails like this:
>
>  Unconnected socket test... passed
>  Connected sockets test... passed
>  General socket test with fork... passed
>  Pipe test... failed (expecting POLLHUP after shutdown)
>  FAIL: test-poll.exe
>
> What do you think? Is Cygwin broken? Or is the test too strict?

On one hand Cygwin has its own poll and does not use gnulib's
replacement, so this means it is broken.

On the other hand, poll/select are broken on Windows for pipes anyway
(and not fixable), so they probably shouldn't be tested in
test-poll/test-select.

We should do the same test on 1.7, and if it fails extract a
standalone test for pipes and send it to the cygwin ML.

Paolo




reply via email to

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