Integrate usr.sbin/basename/tests from NetBSD into atf/kyua

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-09 00:41:42 +00:00
parent d192d44ab4
commit 0be0d5f339
3 changed files with 20 additions and 0 deletions

View File

@ -143,6 +143,8 @@
usr.bin
apply
..
basename
..
bmake
archives
fmt_44bsd

View File

@ -1,7 +1,13 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.include <src.opts.mk>
PROG= basename
MLINKS= basename.1 dirname.1
.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/basename
.PATH: ${TESTSRC}
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/usr.bin/basename
ATF_TESTS_SH= basename_test
ATF_TESTS_SH_SRC_basename_test= t_basename.sh
.include <bsd.test.mk>