On Sun, Mar 14, 2010 at 23:33, Bruno Haible <br...@clisp.org> 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