Remove netbsd tests on pw(8)

First they are redundant with the tests we currently have on pw(8)
Second they to modify the host database instead of being self contained withing
the test directory
This commit is contained in:
Baptiste Daroussin 2015-08-02 00:33:34 +00:00
parent 88f578841f
commit 0996b15464
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286173

View File

@ -1,8 +1,5 @@
# $FreeBSD$
TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.sbin/useradd
.PATH: ${TESTSRC}
TESTSDIR= ${TESTSBASE}/usr.sbin/pw
ATF_TESTS_SH= pw_etcdir \
@ -24,12 +21,4 @@ FILES= group helper_functions.shin master.passwd pw.conf \
pw-modified.conf
FILESDIR= ${TESTSDIR}
ATF_TESTS_SH+= pw_test
# - user{add,del} does not exist on FreeBSD; use pw user{add,del} instead
# - The command passes on FreeBSD
ATF_TESTS_SH_SED_pw_test= -e 's/useradd /pw useradd /'
ATF_TESTS_SH_SED_pw_test+= -e 's/userdel /pw userdel /'
ATF_TESTS_SH_SED_pw_test+= -e '/atf_expect_fail "PR bin\/39546"/d'
ATF_TESTS_SH_SRC_pw_test= t_useradd.sh
.include <bsd.test.mk>