Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2014 01:39:08 +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: r272782 - in head: bin/sleep bin/sleep/tests etc/mtree
Message-ID:  <201410090139.s991d8K5042426@svn.freebsd.org>

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



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