svn commit: r321133 - in stable/10: etc/mtree usr.bin/du usr.bin/du/tests
Ngie Cooper
ngie at FreeBSD.org
Tue Jul 18 16:49:26 UTC 2017
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 <bsd.own.mk>
+
PROG= du
DPADD= ${LIBUTIL}
LDADD= -lutil
+
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
.include <bsd.prog.mk>
More information about the svn-src-all
mailing list