chown: port test to macOS 12.6 nogroup user
commit2a49f569060ed1d2c72739daeaf9356bca0c5109
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Nov 2024 17:53:17 +0000 (19 09:53 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Nov 2024 17:53:55 +0000 (19 09:53 -0800)
tree26a45aa31efa3d18485ed6cde3f0dd1d5cb71bb5
parente3ccd26aca042b1eb2176cb0b0690d90d882001e
chown: port test to macOS 12.6 nogroup user

* tests/chown/preserve-root.sh (id_g): Set to empty if id -gn
reports that it is nogroup, and skip that part of the test.
tests/chown/preserve-root.sh