summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-10-09 02:24:34 +0000
committerngie <ngie@FreeBSD.org>2014-10-09 02:24:34 +0000
commit9de8ee6c0c9bd7196f7b443fe919f04089a6b67e (patch)
tree9844242d4fed8013c3ff6b7fd0dbadf215d2f75b /usr.bin
parentaf608f76fa1171ecd0fd85a221cf87c780abe6ea (diff)
downloadFreeBSD-src-9de8ee6c0c9bd7196f7b443fe919f04089a6b67e.zip
FreeBSD-src-9de8ee6c0c9bd7196f7b443fe919f04089a6b67e.tar.gz
Integrate usr.bin/gzip/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/gzip/Makefile4
-rw-r--r--usr.bin/gzip/tests/Makefile12
2 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/gzip/Makefile b/usr.bin/gzip/Makefile
index 7372435..a3722e7 100644
--- a/usr.bin/gzip/Makefile
+++ b/usr.bin/gzip/Makefile
@@ -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>
diff --git a/usr.bin/gzip/tests/Makefile b/usr.bin/gzip/tests/Makefile
new file mode 100644
index 0000000..155d739
--- /dev/null
+++ b/usr.bin/gzip/tests/Makefile
@@ -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>
OpenPOWER on IntegriCloud