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:
Niels Dossche 2023-01-02 14:30:11 +01:00 committed by David Carlier
parent 4c9375e504
commit d5f0362e59
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ Basic test of POSIX getgid and getgrid functions
Array
(
[name] => %s
[passwd] => %a
[passwd] => %A
[members] => Array
%a

View file

@ -20,7 +20,7 @@ array(4) {
["name"]=>
string(%d) "%s"
["passwd"]=>
string(1) "%s"
string(%d) "%S"
["members"]=>
%a
["gid"]=>