projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix caching bug, thankt to rrichards
[m6w6/ext-http]
/
tests
/
HttpRequestPool_007.phpt
diff --git
a/tests/HttpRequestPool_007.phpt
b/tests/HttpRequestPool_007.phpt
index 2105d4929fd713d18c980f45df4775f442eeefcf..b1acafc1d5e488f11571fc5684c7b4393185eff0 100644
(file)
--- a/
tests/HttpRequestPool_007.phpt
+++ b/
tests/HttpRequestPool_007.phpt
@@
-5,8
+5,7
@@
HttpRequestPool chain with libevent
include 'skip.inc';
checkcls('HttpRequest');
checkcls('HttpRequestPool');
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
?>
--FILE--
<?php
@@
-113,7
+112,7
@@
printf("Elapsed: %0.3fs\n", microtime(true)-$time);
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-%
s
TEST
+%
a
TEST
%d %s %d
%d %s %d
%d %s %d
%d %s %d
%d %s %d
%d %s %d