svn commit: r320518 - in stable/10: etc/mtree usr.bin/compress usr.bin/compress/tests

Jilles Tjoelker jilles at FreeBSD.org
Fri Jun 30 22:16:29 UTC 2017


Author: jilles
Date: Fri Jun 30 22:16:28 2017
New Revision: 320518
URL: https://svnweb.freebsd.org/changeset/base/320518

Log:
  MFC r318591: compress: Add basic tests.

Added:
  stable/10/usr.bin/compress/tests/
     - copied from r318591, head/usr.bin/compress/tests/
Modified:
  stable/10/etc/mtree/BSD.tests.dist
  stable/10/usr.bin/compress/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/10/etc/mtree/BSD.tests.dist	Fri Jun 30 22:14:22 2017	(r320517)
+++ stable/10/etc/mtree/BSD.tests.dist	Fri Jun 30 22:16:28 2017	(r320518)
@@ -576,6 +576,8 @@
         ..
         cmp
         ..
+        compress
+        ..
         cpio
         ..
         col

Modified: stable/10/usr.bin/compress/Makefile
==============================================================================
--- stable/10/usr.bin/compress/Makefile	Fri Jun 30 22:14:22 2017	(r320517)
+++ stable/10/usr.bin/compress/Makefile	Fri Jun 30 22:16:28 2017	(r320518)
@@ -1,6 +1,8 @@
 #	@(#)Makefile	8.2 (Berkeley) 4/17/94
 # $FreeBSD$
 
+.include <bsd.own.mk>
+
 PROG=	compress
 SRCS=	compress.c zopen.c
 LINKS=	${BINDIR}/compress ${BINDIR}/uncompress
@@ -8,5 +10,9 @@ MLINKS=	compress.1 uncompress.1
 
 # XXX zopen is not part of libc
 # MAN=zopen.3
+
+.if ${MK_TESTS} != "no"
+SUBDIR+=	tests
+.endif
 
 .include <bsd.prog.mk>


More information about the svn-src-stable-10 mailing list