Integrate bin/cat/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-01-04 22:37:44 +00:00
parent b219c275cc
commit dd2b763aa5
3 changed files with 21 additions and 0 deletions

View File

@ -1,6 +1,12 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.include <src.opts.mk>
PROG= cat
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.prog.mk>

13
bin/cat/tests/Makefile Normal file
View File

@ -0,0 +1,13 @@
# $FreeBSD$
OBJTOP= ${.OBJDIR}/../../..
SRCTOP= ${.CURDIR}/../../..
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/bin/cat
TESTSDIR= ${TESTSBASE}/bin/cat
NETBSD_ATF_TESTS_SH= cat_test
.include <netbsd-tests.test.mk>
.include <bsd.test.mk>

View File

@ -6,6 +6,8 @@
/set type=dir uname=root gname=wheel mode=0755
.
bin
cat
..
chown
..
date