diff options
author | ngie <ngie@FreeBSD.org> | 2014-10-09 01:39:07 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-10-09 01:39:07 +0000 |
commit | d99fd4f0d70e31d83d6f2e000c265c3ddae1eb82 (patch) | |
tree | 570c52872d42f8e08a6290d572242974ce6c7c29 | |
parent | 82aaaa0800a608b2e6744cc9119ea1ff62ff7493 (diff) | |
download | FreeBSD-src-d99fd4f0d70e31d83d6f2e000c265c3ddae1eb82.zip FreeBSD-src-d99fd4f0d70e31d83d6f2e000c265c3ddae1eb82.tar.gz |
Integrate bin/sleep/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
-rw-r--r-- | bin/sleep/Makefile | 6 | ||||
-rw-r--r-- | bin/sleep/tests/Makefile | 12 | ||||
-rw-r--r-- | etc/mtree/BSD.tests.dist | 2 |
3 files changed, 20 insertions, 0 deletions
diff --git a/bin/sleep/Makefile b/bin/sleep/Makefile index 4ff7330..0ec3080 100644 --- a/bin/sleep/Makefile +++ b/bin/sleep/Makefile @@ -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> 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> diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist index 16e4b60..e91af3d 100644 --- a/etc/mtree/BSD.tests.dist +++ b/etc/mtree/BSD.tests.dist @@ -47,6 +47,8 @@ set-e .. .. + sleep + .. test .. .. |