Add regression test for 'usermod -rG' -- it should not add users to groups they did not previously belong to

This commit is contained in:
James Addison
2022-11-17 12:47:31 +00:00
committed by Serge Hallyn
parent 899f7a43b1
commit 20f8ead9ec
9 changed files with 295 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
user foo, in group users (only in /etc/group)
user bar, in group users (only in /etc/group)
user foo, in group floppy
user bar, in group fax