svn commit: r272788 - in head: etc/mtree usr.bin/gzip usr.bin/gzip/tests

Garrett Cooper ngie at FreeBSD.org
Thu Oct 9 02:24:35 UTC 2014


Author: ngie
Date: Thu Oct  9 02:24:34 2014
New Revision: 272788
URL: https://svnweb.freebsd.org/changeset/base/272788

Log:
  Integrate usr.bin/gzip/tests from NetBSD into atf/kyua
  
  Sponsored by: EMC / Isilon Storage Division

Added:
  head/usr.bin/gzip/tests/
  head/usr.bin/gzip/tests/Makefile   (contents, props changed)
Modified:
  head/etc/mtree/BSD.tests.dist
  head/usr.bin/gzip/Makefile

Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist	Thu Oct  9 02:07:34 2014	(r272787)
+++ head/etc/mtree/BSD.tests.dist	Thu Oct  9 02:24:34 2014	(r272788)
@@ -261,6 +261,8 @@
             ..
             grep
             ..
+            gzip
+            ..
             join
             ..
             jot

Modified: head/usr.bin/gzip/Makefile
==============================================================================
--- head/usr.bin/gzip/Makefile	Thu Oct  9 02:07:34 2014	(r272787)
+++ head/usr.bin/gzip/Makefile	Thu Oct  9 02:24:34 2014	(r272788)
@@ -28,4 +28,8 @@ LINKS+=		${BINDIR}/gzip ${BINDIR}/gunzip
 		${BINDIR}/gzip ${BINDIR}/zcat \
 		${BINDIR}/zdiff ${BINDIR}/zcmp
 
+.if ${MK_TESTS} != "no"
+SUBDIR+=	tests
+.endif
+
 .include <bsd.prog.mk>

Added: head/usr.bin/gzip/tests/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/gzip/tests/Makefile	Thu Oct  9 02:24:34 2014	(r272788)
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+TESTSRC=	${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/gzip
+.PATH: ${TESTSRC}
+
+.include <bsd.own.mk>
+
+TESTSDIR=	${TESTSBASE}/usr.bin/gzip
+ATF_TESTS_SH=	gzip_test
+ATF_TESTS_SH_SRC_gzip_test=	t_gzip.sh
+
+.include <bsd.test.mk>


More information about the svn-src-head mailing list