projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Handle NULL strings gracefully during constant registration
[m6w6/ext-http]
/
tests
/
client029.phpt
diff --git
a/tests/client029.phpt
b/tests/client029.phpt
index 2ed6d7934c36773a9fdbcd2d635bb4ab84970289..1c8dc4f3528700708d342f08478461847e1fc591 100644
(file)
--- a/
tests/client029.phpt
+++ b/
tests/client029.phpt
@@
-7,6
+7,8
@@
skip_client_test();
_ext("ev");
?>
_ext("ev");
?>
+--XFAIL--
+ext-ev leaks
--FILE--
<?php
echo "Test\n";
--FILE--
<?php
echo "Test\n";
@@
-23,11
+25,11
@@
class UserHandler implements http\Client\Curl\User
$this->client = $client;
}
$this->client = $client;
}
- function init(
callable
$run) {
+ function init($run) {
$this->run = $run;
}
$this->run = $run;
}
- function timer($timeout_ms) {
+ function timer(
int
$timeout_ms) {
echo "T";
if (isset($this->timeout)) {
$this->timeout->set($timeout_ms/1000, 0);
echo "T";
if (isset($this->timeout)) {
$this->timeout->set($timeout_ms/1000, 0);
@@
-44,7
+46,7
@@
class UserHandler implements http\Client\Curl\User
}
}
}
}
- function socket($socket, $action) {
+ function socket($socket,
int
$action) {
echo "S";
switch ($action) {
echo "S";
switch ($action) {
@@
-93,7
+95,7
@@
class UserHandler implements http\Client\Curl\User
throw new BadMethodCallException("this test uses Ev::run()");
}
throw new BadMethodCallException("this test uses Ev::run()");
}
- function wait($timeout_ms = null) {
+ function wait(
int
$timeout_ms = null) {
throw new BadMethodCallException("this test uses Ev::run()");
}
throw new BadMethodCallException("this test uses Ev::run()");
}