Author: jilles
Date: Mon May 29 21:48:02 2017
New Revision: 319163
URL: https://svnweb.freebsd.org/changeset/base/319163

Log:
  MFC r318591: compress: Add basic tests.

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

Modified: stable/11/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/11/etc/mtree/BSD.tests.dist  Mon May 29 20:43:00 2017        
(r319162)
+++ stable/11/etc/mtree/BSD.tests.dist  Mon May 29 21:48:02 2017        
(r319163)
@@ -594,6 +594,8 @@
         ..
         cmp
         ..
+        compress
+        ..
         cpio
         ..
         col

Modified: stable/11/usr.bin/compress/Makefile
==============================================================================
--- stable/11/usr.bin/compress/Makefile Mon May 29 20:43:00 2017        
(r319162)
+++ stable/11/usr.bin/compress/Makefile Mon May 29 21:48:02 2017        
(r319163)
@@ -1,6 +1,8 @@
 #      @(#)Makefile    8.2 (Berkeley) 4/17/94
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 PROG=  compress
 SRCS=  compress.c zopen.c
 LINKS= ${BINDIR}/compress ${BINDIR}/uncompress
@@ -9,4 +11,8 @@ 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>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to