Skip to content

Commit 2e09709

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Skip bug46024.phpt under asan
2 parents e26234a + 682357c commit 2e09709

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ext/standard/tests/streams/bug46024.phpt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
--TEST--
22
Bug #46024 stream_select() doesn't return the correct number
33
--SKIPIF--
4-
<?php if (!getenv('TEST_PHP_EXECUTABLE')) die("skip TEST_PHP_EXECUTABLE not defined"); ?>
4+
<?php
5+
if (!getenv('TEST_PHP_EXECUTABLE')) die("skip TEST_PHP_EXECUTABLE not defined");
6+
// Terminating the process may cause a bailout while writing out the phpinfo,
7+
// which may leak a temporary hash table. This does not seems worth fixing.
8+
if (getenv('SKIP_ASAN')) die("skip Test may leak");
9+
?>
510
--FILE--
611
<?php
712
$php = realpath(getenv('TEST_PHP_EXECUTABLE'));

0 commit comments

Comments
 (0)