mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Skip dl() tests on ASAN
This commit is contained in:
commit
64ef06d276
6 changed files with 15 additions and 0 deletions
|
@ -12,3 +12,7 @@ if (PHP_OS_FAMILY === 'Windows') {
|
|||
if (!file_exists($path)) {
|
||||
die(sprintf('skip dl_test extension is not built (tried %s)', $path));
|
||||
}
|
||||
|
||||
if (getenv('SKIP_ASAN')) {
|
||||
die('xleak dl() crashes LSan');
|
||||
}
|
||||
|
|
|
@ -8,6 +8,10 @@ opcache.enable_cli=1
|
|||
disable_functions=dl
|
||||
--EXTENSIONS--
|
||||
opcache
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (getenv('SKIP_ASAN')) die('xleak dl() crashes LSan');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(is_callable("dl"));
|
||||
|
|
|
@ -9,6 +9,7 @@ $enabled_sapi = array('cgi-fcgi', 'cli', 'embed', 'fpm');
|
|||
if (!in_array(php_sapi_name(), $enabled_sapi)) {
|
||||
die('skip dl() is not enabled for ' . php_sapi_name());
|
||||
}
|
||||
if (getenv('SKIP_ASAN')) die('xleak dl() crashes LSan');
|
||||
?>
|
||||
--INI--
|
||||
enable_dl=0
|
||||
|
|
|
@ -6,6 +6,7 @@ $enabled_sapi = array('cgi-fcgi', 'cli', 'embed', 'fpm');
|
|||
if (!in_array(php_sapi_name(), $enabled_sapi)) {
|
||||
die('skip dl() is not enabled for ' . php_sapi_name());
|
||||
}
|
||||
if (getenv('SKIP_ASAN')) die('xleak dl() crashes LSan');
|
||||
?>
|
||||
--INI--
|
||||
enable_dl=1
|
||||
|
|
|
@ -9,6 +9,7 @@ $enabled_sapi = array('cgi-fcgi', 'cli', 'embed', 'fpm');
|
|||
if (!in_array(php_sapi_name(), $enabled_sapi)) {
|
||||
die('skip dl() is not enabled for ' . php_sapi_name());
|
||||
}
|
||||
if (getenv('SKIP_ASAN')) die('xleak dl() crashes LSan');
|
||||
?>
|
||||
--INI--
|
||||
enable_dl=1
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
dl() segfaults when module is already loaded
|
||||
--EXTENSIONS--
|
||||
dl_test
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (getenv('SKIP_ASAN')) die('xleak dl() crashes LSan');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
dl("dl_test");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue