mirror of
https://github.com/php/php-src.git
synced 2026-04-30 03:33:17 +02:00
e54499219f
When PDO firebird is loaded and these posix tests are run with parallelism, LeakSanitizer will occasionally segfault. I was not able to root cause this issue, as I failed to reproduce it in simpler circumstances. I don't think it's an issue on our side though.
24 lines
591 B
PHP
24 lines
591 B
PHP
--TEST--
|
|
Test posix_getgrgid() function : error conditions
|
|
--SKIPIF--
|
|
<?php
|
|
if(!extension_loaded("posix")) die("skip - POSIX extension not loaded");
|
|
if (getenv('SKIP_ASAN')) die('skip LSan crashes when firebird is loaded');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
echo "*** Testing posix_getgrgid() : error conditions ***\n";
|
|
|
|
echo "\n-- Testing posix_getgrgid() function with a negative group id --\n";
|
|
$gid = -999;
|
|
var_dump( posix_getgrgid($gid));
|
|
|
|
echo "Done";
|
|
?>
|
|
--EXPECT--
|
|
*** Testing posix_getgrgid() : error conditions ***
|
|
|
|
-- Testing posix_getgrgid() function with a negative group id --
|
|
bool(false)
|
|
Done
|