mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix GH-10202: posix_getgr(gid|nam)_basic.phpt fail
The issue was that passwd was empty for the issue reporter, but the test expected passwd to be non-empty. An empty passwd can occur if there is no (encrypted) group password set up.
This commit is contained in:
parent
4c9375e504
commit
d5f0362e59
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ Basic test of POSIX getgid and getgrid functions
|
||||||
Array
|
Array
|
||||||
(
|
(
|
||||||
[name] => %s
|
[name] => %s
|
||||||
[passwd] => %a
|
[passwd] => %A
|
||||||
[members] => Array
|
[members] => Array
|
||||||
%a
|
%a
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ array(4) {
|
||||||
["name"]=>
|
["name"]=>
|
||||||
string(%d) "%s"
|
string(%d) "%s"
|
||||||
["passwd"]=>
|
["passwd"]=>
|
||||||
string(1) "%s"
|
string(%d) "%S"
|
||||||
["members"]=>
|
["members"]=>
|
||||||
%a
|
%a
|
||||||
["gid"]=>
|
["gid"]=>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue