From owner-svn-src-all@freebsd.org Tue Jul 18 16:49:25 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA48AD99B01; Tue, 18 Jul 2017 16:49:25 +0000 (UTC) (envelope-from ngie@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 mx1.freebsd.org (Postfix) with ESMTPS id B86C674A32; Tue, 18 Jul 2017 16:49:25 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6IGnOf4036794; Tue, 18 Jul 2017 16:49:24 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6IGnONS036792; Tue, 18 Jul 2017 16:49:24 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201707181649.v6IGnONS036792@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Tue, 18 Jul 2017 16:49:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r321133 - in stable/10: etc/mtree usr.bin/du usr.bin/du/tests X-SVN-Group: stable-10 X-SVN-Commit-Author: ngie X-SVN-Commit-Paths: in stable/10: etc/mtree usr.bin/du usr.bin/du/tests X-SVN-Commit-Revision: 321133 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.23 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: Tue, 18 Jul 2017 16:49:26 -0000 Author: ngie Date: Tue Jul 18 16:49:24 2017 New Revision: 321133 URL: https://svnweb.freebsd.org/changeset/base/321133 Log: MFC r319850: Add some initial basic tests for du(1) Tests that exercise the following flags are added in this commit: - -A - -H - -I - -g - -h - -k - -m Additional tests will be added soon. Added: stable/10/usr.bin/du/tests/ - copied from r319850, head/usr.bin/du/tests/ Modified: stable/10/etc/mtree/BSD.tests.dist stable/10/usr.bin/du/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/etc/mtree/BSD.tests.dist ============================================================================== --- stable/10/etc/mtree/BSD.tests.dist Tue Jul 18 16:48:36 2017 (r321132) +++ stable/10/etc/mtree/BSD.tests.dist Tue Jul 18 16:49:24 2017 (r321133) @@ -594,6 +594,8 @@ .. dirname .. + du + .. file2c .. getconf Modified: stable/10/usr.bin/du/Makefile ============================================================================== --- stable/10/usr.bin/du/Makefile Tue Jul 18 16:48:36 2017 (r321132) +++ stable/10/usr.bin/du/Makefile Tue Jul 18 16:49:24 2017 (r321133) @@ -1,8 +1,14 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +.include + PROG= du DPADD= ${LIBUTIL} LDADD= -lutil + +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif .include