Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2017 16:48:36 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r321132 - in stable/11: etc/mtree usr.bin/du usr.bin/du/tests
Message-ID:  <201707181648.v6IGmaKv036714@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Jul 18 16:48:36 2017
New Revision: 321132
URL: https://svnweb.freebsd.org/changeset/base/321132

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/11/usr.bin/du/tests/
     - copied from r319850, head/usr.bin/du/tests/
Modified:
  stable/11/etc/mtree/BSD.tests.dist
  stable/11/usr.bin/du/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/11/etc/mtree/BSD.tests.dist	Tue Jul 18 16:36:32 2017	(r321131)
+++ stable/11/etc/mtree/BSD.tests.dist	Tue Jul 18 16:48:36 2017	(r321132)
@@ -612,6 +612,8 @@
         ..
         dirname
         ..
+        du
+        ..
         file2c
         ..
         getconf

Modified: stable/11/usr.bin/du/Makefile
==============================================================================
--- stable/11/usr.bin/du/Makefile	Tue Jul 18 16:36:32 2017	(r321131)
+++ stable/11/usr.bin/du/Makefile	Tue Jul 18 16:48:36 2017	(r321132)
@@ -1,7 +1,11 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 PROG=	du
 LIBADD=	util
+
+SUBDIR.${MK_TESTS}+=	tests
 
 .include <bsd.prog.mk>



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