summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chown/Makefile
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2014-06-30 05:33:52 +0000
committereadler <eadler@FreeBSD.org>2014-06-30 05:33:52 +0000
commit253aaa13c29f9c3cba61d6cafd082813dad0cfec (patch)
tree1f574d1c5c4c4f53f9d67b787f900ffc22d0546c /usr.sbin/chown/Makefile
parent6ffa0d594309453f08a9432c4bede71848667751 (diff)
downloadFreeBSD-src-253aaa13c29f9c3cba61d6cafd082813dad0cfec.zip
FreeBSD-src-253aaa13c29f9c3cba61d6cafd082813dad0cfec.tar.gz
chown: add a test
Add a test for the chown utility. This sets up chown(8) to be capable of being tested. As such, only add one test for now as an example.
Diffstat (limited to 'usr.sbin/chown/Makefile')
-rw-r--r--usr.sbin/chown/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/chown/Makefile b/usr.sbin/chown/Makefile
index 97972e5..7bcb677 100644
--- a/usr.sbin/chown/Makefile
+++ b/usr.sbin/chown/Makefile
@@ -1,8 +1,14 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
+.include <src.opts.mk>
+
PROG= chown
LINKS= ${BINDIR}/chown /usr/bin/chgrp
MAN= chgrp.1 chown.8
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud