svn commit: r272782 - in head: bin/sleep bin/sleep/tests etc/mtree

Garrett Cooper ngie at FreeBSD.org
Thu Oct 9 01:39:09 UTC 2014


Author: ngie
Date: Thu Oct  9 01:39:07 2014
New Revision: 272782
URL: https://svnweb.freebsd.org/changeset/base/272782

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

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

Modified: head/bin/sleep/Makefile
==============================================================================
--- head/bin/sleep/Makefile	Thu Oct  9 00:55:04 2014	(r272781)
+++ head/bin/sleep/Makefile	Thu Oct  9 01:39:07 2014	(r272782)
@@ -1,6 +1,12 @@
 #	@(#)Makefile	8.1 (Berkeley) 5/31/93
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 PROG=	sleep
 
+.if ${MK_TESTS} != "no"
+SUBDIR+=	tests
+.endif
+
 .include <bsd.prog.mk>

Added: head/bin/sleep/tests/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/bin/sleep/tests/Makefile	Thu Oct  9 01:39:07 2014	(r272782)
@@ -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>

Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist	Thu Oct  9 00:55:04 2014	(r272781)
+++ head/etc/mtree/BSD.tests.dist	Thu Oct  9 01:39:07 2014	(r272782)
@@ -47,6 +47,8 @@
                 set-e
                 ..
             ..
+            sleep
+            ..
             test
             ..
         ..


More information about the svn-src-all mailing list