Skip to content

Commit 181598d

Browse files
committed
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
1 parent ca5f9e8 commit 181598d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pcntl/tests/pcntl_getpriority_basic.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ if (!function_exists('pcntl_getpriority')) {
1616
var_dump(pcntl_getpriority());
1717
?>
1818
--EXPECTF--
19-
int(%d)
19+
int(%i)

0 commit comments

Comments
 (0)