Skip to content

Commit fae00ab

Browse files
committed
Suppress leaks in tests
These seem to be intentionally testing memory leaks???
1 parent 5c5d687 commit fae00ab

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ext/sockets/tests/socket_export_stream-5.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ if (!extension_loaded('sockets')) {
77
}
88
if (!function_exists('zend_leak_variable'))
99
die('SKIP only for debug builds');
10+
?>
11+
--INI--
12+
report_memleaks=0
1013
--FILE--
1114
<?php
1215

ext/sockets/tests/socket_import_stream-5.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ if (!extension_loaded('sockets')) {
77
}
88
if (!function_exists('zend_leak_variable'))
99
die('SKIP only for debug builds');
10+
?>
11+
--INI--
12+
report_memleaks=0
1013
--FILE--
1114
<?php
1215

0 commit comments

Comments
 (0)