]> git.ipfire.org Git - thirdparty/shadow.git/commit
tests: delete user and homedir
authorIker Pedrosa <ipedrosa@redhat.com>
Tue, 19 Nov 2024 09:19:09 +0000 (10:19 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 11 Jan 2025 02:21:07 +0000 (20:21 -0600)
commit3e9293508ac0c00a244cc57af6544df0bbe37f33
tree3ce31e9e9cdbb517f3bb597e388012fd9eabd07f
parentbc2f527f09e72dff91a6d62af97c62ebaf4fc899
tests: delete user and homedir

This is the transformation to Python of the test located in
`tests/usertools/01/18_userdel_remove_homedir.test`, which checks that
`userdel` is able to delete a user and its homedir. The test checks that
the user, the group and the home folder don't exist.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
tests/system/tests/test_userdel.py [new file with mode: 0644]