- libevent diagnostics
[m6w6/ext-http] / tests / HttpRequestPool_007.phpt
index 2105d4929fd713d18c980f45df4775f442eeefcf..8e97d402c8a5cb90897b1d75b5be67e04d63c628 100644 (file)
@@ -5,8 +5,7 @@ HttpRequestPool chain with libevent
 include 'skip.inc';
 checkcls('HttpRequest');
 checkcls('HttpRequestPool');
-$pool = new RequestPool;
-skipif(!@$pool->enableEvents(), "need libevent support");
+skipif(!http_support(HTTP_SUPPORT_EVENTS), "need libevent support");
 ?>
 --FILE--
 <?php