cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Tue, 16 Apr 2013 09:18:45 +0200

On 04/16/2013 02:08 AM, Nick Zitzmann wrote:
> 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.

I borrowed that code from Google. I'll see if I can come up with a
solution, but I'm not a Python ninja.

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