summaryrefslogtreecommitdiff
path: root/test/regress_et.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-11-22 14:10:01 -0500
committerNick Mathewson <nickm@torproject.org>2010-11-22 15:51:45 -0500
commitaed7e02979886ec07bad56daa0d7bdda290bc509 (patch)
tree269e602514b2c0516212e8be366c46c8438f2534 /test/regress_et.c
parent9531763ab0b57e8d4249db58ef162800c6fb116b (diff)
downloadlibevent-aed7e02979886ec07bad56daa0d7bdda290bc509.tar.gz
Make unit tests for epoll-with-changelist pass
The only changes needed were to handle the fact that the methodname "epoll (with changelist)" matches the environment variable EVENT_NOEPOLL rather than the imaginary "EVENT_EPOLL (WITH CHANGELIST)".
Diffstat (limited to 'test/regress_et.c')
-rw-r--r--test/regress_et.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/regress_et.c b/test/regress_et.c
index 1ab92313..736446c1 100644
--- a/test/regress_et.c
+++ b/test/regress_et.c
@@ -104,7 +104,8 @@ test_edgetriggered(void *et)
base = event_base_new();
if (!strcmp(event_base_get_method(base), "epoll") ||
- !strcmp(event_base_get_method(base), "kqueue"))
+ !strcmp(event_base_get_method(base), "epoll (with changelist)") ||
+ !strcmp(event_base_get_method(base), "kqueue"))
supports_et = 1;
else
supports_et = 0;