Restructure to make it easier to extend in the future

Reviewed by:	will
Suggested by:	ngie
This commit is contained in:
brd 2014-12-09 23:26:47 +00:00
parent 0534d4b8fc
commit 2220b51696

View File

@ -5,13 +5,17 @@ TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.sbin/useradd
TESTSDIR= ${TESTSBASE}/usr.sbin/pw
ATF_TESTS_SH= pw_etcdir pw_lock pw_groupdel pw_groupmod pw_useradd pw_userdel pw_usermod
ATF_TESTS_SH= pw_etcdir \
pw_lock \
pw_groupdel \
pw_groupmod \
pw_useradd \
pw_userdel \
pw_usermod
TEST_METADATA.pw_groupdel+= required_user="root"
TEST_METADATA.pw_groupmod+= required_user="root"
TEST_METADATA.pw_useradd+= required_user="root"
TEST_METADATA.pw_userdel+= required_user="root"
TEST_METADATA.pw_usermod+= required_user="root"
.for tp in ${ATF_TESTS_SH}
TEST_METADATA.${tp}+= required_user="root"
.endfor
FILES= group helper_functions.shin master.passwd
FILESDIR= ${TESTSDIR}