Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Aug 2015 00:33:35 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r286173 - head/usr.sbin/pw/tests
Message-ID:  <201508020033.t720XZrA027708@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508020033.t720XZrA027708>