From owner-svn-src-all@freebsd.org Mon Nov 18 04:03:13 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44B461B397E; Mon, 18 Nov 2019 04:03:13 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Gb0K0wlMz4bSP; Mon, 18 Nov 2019 04:03:13 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 038D1245E8; Mon, 18 Nov 2019 04:03:13 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAI43CeV034302; Mon, 18 Nov 2019 04:03:12 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAI43CnL034298; Mon, 18 Nov 2019 04:03:12 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201911180403.xAI43CnL034298@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: Conrad Meyer Date: Mon, 18 Nov 2019 04:03:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354801 - in head: contrib/netbsd-tests/usr.bin/unifdef etc/mtree usr.bin/unifdef usr.bin/unifdef/tests X-SVN-Group: head X-SVN-Commit-Author: cem X-SVN-Commit-Paths: in head: contrib/netbsd-tests/usr.bin/unifdef etc/mtree usr.bin/unifdef usr.bin/unifdef/tests X-SVN-Commit-Revision: 354801 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2019 04:03:13 -0000 Author: cem Date: Mon Nov 18 04:03:11 2019 New Revision: 354801 URL: https://svnweb.freebsd.org/changeset/base/354801 Log: Link in NetBSD's unifdef(1) tests Skip one, is it currently fails. Added: head/usr.bin/unifdef/tests/ head/usr.bin/unifdef/tests/Makefile (contents, props changed) Modified: head/contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh head/etc/mtree/BSD.tests.dist head/usr.bin/unifdef/Makefile Modified: head/contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh ============================================================================== --- head/contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh Mon Nov 18 01:56:19 2019 (r354800) +++ head/contrib/netbsd-tests/usr.bin/unifdef/t_basic.sh Mon Nov 18 04:03:11 2019 (r354801) @@ -51,6 +51,10 @@ lastline_body() { printf '#ifdef foo\n#endif\n' >input atf_check -o file:input unifdef -Ubar input + # Begin FreeBSD + atf_skip "our version doesn't have this behavior" + # Endif + # Without newline after cpp directive printf '#ifdef foo\n#endif' >input atf_check -o file:input unifdef -Ubar input Modified: head/etc/mtree/BSD.tests.dist ============================================================================== --- head/etc/mtree/BSD.tests.dist Mon Nov 18 01:56:19 2019 (r354800) +++ head/etc/mtree/BSD.tests.dist Mon Nov 18 04:03:11 2019 (r354801) @@ -1064,6 +1064,8 @@ .. uuencode .. + unifdef + .. uniq .. vmstat Modified: head/usr.bin/unifdef/Makefile ============================================================================== --- head/usr.bin/unifdef/Makefile Mon Nov 18 01:56:19 2019 (r354800) +++ head/usr.bin/unifdef/Makefile Mon Nov 18 04:03:11 2019 (r354801) @@ -1,8 +1,13 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +.include + PROG= unifdef SCRIPTS=unifdefall.sh MLINKS= unifdef.1 unifdefall.1 + +HAS_TESTS= +SUBDIR.${MK_TESTS}+= tests .include Added: head/usr.bin/unifdef/tests/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.bin/unifdef/tests/Makefile Mon Nov 18 04:03:11 2019 (r354801) @@ -0,0 +1,12 @@ +# $FreeBSD$ + +PACKAGE= tests + +NETBSD_ATF_TESTS_SH= basic_test + +${PACKAGE}FILES+= d_basic.in +${PACKAGE}FILES+= d_basic.out + +.include + +.include