diff options
author | ngie <ngie@FreeBSD.org> | 2014-10-09 00:55:04 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-10-09 00:55:04 +0000 |
commit | 82aaaa0800a608b2e6744cc9119ea1ff62ff7493 (patch) | |
tree | a87df40bd7c8d74771bc2da5ca01d58721a92474 /usr.bin/dirname | |
parent | 70c01e4074dc74d961b044db91e4308b87b168f0 (diff) | |
download | FreeBSD-src-82aaaa0800a608b2e6744cc9119ea1ff62ff7493.zip FreeBSD-src-82aaaa0800a608b2e6744cc9119ea1ff62ff7493.tar.gz |
Integrate usr.bin/dirname/tests from NetBSD into atf/kyua
In collaboration with: pho, sjg
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'usr.bin/dirname')
-rw-r--r-- | usr.bin/dirname/Makefile | 6 | ||||
-rw-r--r-- | usr.bin/dirname/tests/Makefile | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/usr.bin/dirname/Makefile b/usr.bin/dirname/Makefile index fb0e660..be9193c 100644 --- a/usr.bin/dirname/Makefile +++ b/usr.bin/dirname/Makefile @@ -1,7 +1,13 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +.include <src.opts.mk> + PROG= dirname MAN= +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + .include <bsd.prog.mk> diff --git a/usr.bin/dirname/tests/Makefile b/usr.bin/dirname/tests/Makefile new file mode 100644 index 0000000..5b84c57 --- /dev/null +++ b/usr.bin/dirname/tests/Makefile @@ -0,0 +1,12 @@ +# $FreeBSD$ + +TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/dirname +.PATH: ${TESTSRC} + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/usr.bin/dirname +ATF_TESTS_SH= dirname_test +ATF_TESTS_SH_SRC_dirname_test= t_dirname.sh + +.include <bsd.test.mk> |