Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Aug 2015 19:03:31 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r286173 - head/usr.sbin/pw/tests
Message-ID:  <171F8C8E-9FEC-4F30-BF9D-42F3D74F6B50@gmail.com>
In-Reply-To: <201508020033.t720XZrA027708@repo.freebsd.org>
References:  <201508020033.t720XZrA027708@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Aug 1, 2015, at 17:33, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> 
> 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>

You forgot to add an ObsoleteFiles.inc entry..


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?171F8C8E-9FEC-4F30-BF9D-42F3D74F6B50>