Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2014 02:24:34 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272788 - in head: etc/mtree usr.bin/gzip usr.bin/gzip/tests
Message-ID:  <201410090224.s992OYhr065864@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410090224.s992OYhr065864>