aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pw
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-08-02 00:33:34 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-08-02 00:33:34 +0000
commit0996b154643cea48857a4e002b8641caebb82a09 (patch)
tree453d4317ad76195807294fc10b7b1d50a80bf356 /usr.sbin/pw
parent88f578841fd49ff796b62a8d3531bd73afd1a88e (diff)
downloadsrc-0996b154643cea48857a4e002b8641caebb82a09.tar.gz
src-0996b154643cea48857a4e002b8641caebb82a09.zip
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
Notes
Notes: svn path=/head/; revision=286173
Diffstat (limited to 'usr.sbin/pw')
-rw-r--r--usr.sbin/pw/tests/Makefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/usr.sbin/pw/tests/Makefile b/usr.sbin/pw/tests/Makefile
index c43285fa7fff..a1605aadaf57 100644
--- a/usr.sbin/pw/tests/Makefile
+++ b/usr.sbin/pw/tests/Makefile
@@ -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>