mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix getpriority test with negative return value
Negative return values are valid and denote higher priority. https://man7.org/linux/man-pages/man2/setpriority.2.html
This commit is contained in:
parent
ca5f9e812a
commit
181598d403
1 changed files with 1 additions and 1 deletions
|
@ -16,4 +16,4 @@ if (!function_exists('pcntl_getpriority')) {
|
||||||
var_dump(pcntl_getpriority());
|
var_dump(pcntl_getpriority());
|
||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
int(%d)
|
int(%i)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue