From cdfd89cea1d0df2e80c4c24938aa97a5e599c72d Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Thu, 9 Oct 2014 02:24:34 +0000 Subject: [PATCH] Integrate usr.bin/gzip/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division --- etc/mtree/BSD.tests.dist | 2 ++ usr.bin/gzip/Makefile | 4 ++++ usr.bin/gzip/tests/Makefile | 12 ++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 usr.bin/gzip/tests/Makefile diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist index 72b34ac0f8dc..45c2d7c0eb07 100644 --- a/etc/mtree/BSD.tests.dist +++ b/etc/mtree/BSD.tests.dist @@ -261,6 +261,8 @@ .. grep .. + gzip + .. join .. jot diff --git a/usr.bin/gzip/Makefile b/usr.bin/gzip/Makefile index 73724358a560..a3722e7193a8 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 diff --git a/usr.bin/gzip/tests/Makefile b/usr.bin/gzip/tests/Makefile new file mode 100644 index 000000000000..155d739f17bd --- /dev/null +++ b/usr.bin/gzip/tests/Makefile @@ -0,0 +1,12 @@ +# $FreeBSD$ + +TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/gzip +.PATH: ${TESTSRC} + +.include + +TESTSDIR= ${TESTSBASE}/usr.bin/gzip +ATF_TESTS_SH= gzip_test +ATF_TESTS_SH_SRC_gzip_test= t_gzip.sh + +.include