cURL / Mailing Lists / curl-library / Single Mail

curl-library

Test 1900 isn't working due to a Linux-specific call

From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Mon, 15 Apr 2013 18:08:02 -0600

For a while now, I've been seeing this appear when running test 1900:

===
'module' object has no attribute 'epoll'
RUN: Unknown server on our http3 port: 9014 (52)
RUN: HTTP3 server failed verification
===

I checked the documentation at <http://docs.python.org/2/library/select.html?highlight=epoll#select.epoll>, and tests/http_pipe.py appears to be calling select.epoll() on line 360. I checked the documentation, and noticed this:

===
select.epoll([sizehint=-1])
(Only supported on Linux 2.5.44 and newer.)
===

So could whoever wrote this Python script please update it for those of us who are not using Linux-based operating systems? I'm running the tests on OS X Mountain Lion.

Nick Zitzmann
<http://www.chronosnet.com/>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-16