freebsd-dev/usr.sbin/pw/tests
Baptiste Daroussin a75f9261d6 pw: do not removed home directories if not owned
When deleting a user, if its home directory does not belong to it, it should
not be removed. This is the promise that the manpage makes, the tool should
ensure that it respects that promise.

Add a regression test about it

PR:		244967
Submitted by:	Eric Hanneken <eric@erichanneken.com>
MFC after:	3 days
2020-03-23 08:23:22 +00:00
..
crypt.c
group
helper_functions.shin
Makefile pw: add some basic testcases for groupshow and usershow 2017-05-28 02:15:57 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
master.passwd
pw_config_test.sh Rename tests from <foo> to <foo>_test to match the FreeBSD test suite 2017-03-23 03:28:24 +00:00
pw_etcdir_test.sh Rename tests from <foo> to <foo>_test to match the FreeBSD test suite 2017-03-23 03:28:24 +00:00
pw_groupadd_test.sh Rename tests from <foo> to <foo>_test to match the FreeBSD test suite 2017-03-23 03:28:24 +00:00
pw_groupdel_test.sh Rename tests from <foo> to <foo>_test to match the FreeBSD test suite 2017-03-23 03:28:24 +00:00
pw_groupmod_test.sh Rename tests from <foo> to <foo>_test to match the FreeBSD test suite 2017-03-23 03:28:24 +00:00
pw_groupshow_test.sh pw: add some basic testcases for groupshow and usershow 2017-05-28 02:15:57 +00:00
pw_lock_test.sh Rename tests from <foo> to <foo>_test to match the FreeBSD test suite 2017-03-23 03:28:24 +00:00
pw_useradd_test.sh pw: fix the checks in boolean_str() after r326738. Add related test 2018-10-21 14:23:56 +00:00
pw_userdel_test.sh pw: do not removed home directories if not owned 2020-03-23 08:23:22 +00:00
pw_usermod_test.sh pw usermod: Properly deal with empty secondary group lists (-G '') 2017-08-19 00:19:23 +00:00
pw_usernext_test.sh Rename tests from <foo> to <foo>_test to match the FreeBSD test suite 2017-03-23 03:28:24 +00:00
pw_usershow_test.sh pw: add some basic testcases for groupshow and usershow 2017-05-28 02:15:57 +00:00
pw-modified.conf
pw.conf