Integrate usr.bin/dirname/tests from NetBSD into atf/kyua

In collaboration with: pho, sjg
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-09 00:55:04 +00:00
parent 0306a0a804
commit 17313006a0
3 changed files with 20 additions and 0 deletions

View File

@ -249,6 +249,8 @@
..
comm
..
dirname
..
file2c
..
join

View File

@ -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>

View File

@ -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>