svn commit: r286173 - head/usr.sbin/pw/tests

Baptiste Daroussin bapt at FreeBSD.org
Sun Aug 2 00:33:35 UTC 2015


Author: bapt
Date: Sun Aug  2 00:33:34 2015
New Revision: 286173
URL: https://svnweb.freebsd.org/changeset/base/286173

Log:
  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

Modified:
  head/usr.sbin/pw/tests/Makefile

Modified: head/usr.sbin/pw/tests/Makefile
==============================================================================
--- head/usr.sbin/pw/tests/Makefile	Sun Aug  2 00:24:21 2015	(r286172)
+++ head/usr.sbin/pw/tests/Makefile	Sun Aug  2 00:33:34 2015	(r286173)
@@ -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 mast
 		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>


More information about the svn-src-head mailing list