]> git.ipfire.org Git - thirdparty/shadow.git/commit
tests/system/tests/test_groupmod.py: add test for groupmod -U with user list
authorIker Pedrosa <ipedrosa@redhat.com>
Tue, 23 Dec 2025 08:51:56 +0000 (09:51 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Thu, 1 Jan 2026 14:44:52 +0000 (15:44 +0100)
commita0d5a6165d248e6bf7ecea0221ff288040c3e2e2
tree8d4a3a94f876918e31d3a4ac15e8619d456dc84d
parentce9e598fac3a130c5578b8e13d69707f42d7d359
tests/system/tests/test_groupmod.py: add test for groupmod -U with user list

Add comprehensive test for the groupmod -U option when provided with a
list of users to set group membership. This test verifies:

- Setting initial group membership with multiple users
- Proper membership verification in both group and gshadow entries
- Updating group membership by modifying the user list
- Correct handling of membership changes in group databases

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
tests/system/tests/test_groupmod.py