summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-01 02:04:44 +0000
committerngie <ngie@FreeBSD.org>2015-01-01 02:04:44 +0000
commit0971283da1a2343a9fa413073fcd4e1fe7d153ed (patch)
treef431d239ff3a5545c3648186537ddfe6a97dae6e /bin
parenta7ae9a638d5518687d8fddb26ebf58af5d3e6f2d (diff)
downloadFreeBSD-src-0971283da1a2343a9fa413073fcd4e1fe7d153ed.zip
FreeBSD-src-0971283da1a2343a9fa413073fcd4e1fe7d153ed.tar.gz
MFC r272777,r272779,r272780,r272781,r272782,r272783,r272784,r272787,r272788:
r272777: Integrate usr.sbin/nmtree/tests from NetBSD into atf/kyua In collaboration with: pho Sponsored by: EMC / Isilon Storage Division r272779: Integrate usr.sbin/basename/tests from NetBSD into atf/kyua In collaboration with: pho Sponsored by: EMC / Isilon Storage Division r272780: Integrate usr.bin/cmp/tests from NetBSD into atf/kyua In collaboration with: sjg Sponsored by: EMC / Isilon Storage Division r272781: Integrate usr.bin/dirname/tests from NetBSD into atf/kyua In collaboration with: pho, sjg Sponsored by: EMC / Isilon Storage Division r272782: Integrate bin/sleep/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division r272783: Integrate usr.bin/cut/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division r272784: Integrate usr.bin/grep/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division r272787: Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/tests Sponsored by: EMC / Isilon Storage Division r272788: Integrate usr.bin/gzip/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'bin')
-rw-r--r--bin/sleep/Makefile6
-rw-r--r--bin/sleep/tests/Makefile12
2 files changed, 18 insertions, 0 deletions
diff --git a/bin/sleep/Makefile b/bin/sleep/Makefile
index 4ff7330..2e9cac0 100644
--- a/bin/sleep/Makefile
+++ b/bin/sleep/Makefile
@@ -1,6 +1,12 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= sleep
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
diff --git a/bin/sleep/tests/Makefile b/bin/sleep/tests/Makefile
new file mode 100644
index 0000000..9b286e6
--- /dev/null
+++ b/bin/sleep/tests/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/bin/sleep
+.PATH: ${TESTSRC}
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/bin/sleep
+ATF_TESTS_SH= sleep_test
+ATF_TESTS_SH_SRC_sleep_test= t_sleep.sh
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud