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

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2014-10-09 01:46:31 +00:00
parent d99fd4f0d7
commit 429a4fc8f2
3 changed files with 29 additions and 0 deletions

View File

@ -251,6 +251,8 @@
..
comm
..
cut
..
dirname
..
file2c

View File

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

View File

@ -0,0 +1,21 @@
# $FreeBSD$
TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/cut
.PATH: ${TESTSRC}
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/usr.bin/cut
ATF_TESTS_SH= cut_test
ATF_TESTS_SH_SRC_cut_test= t_cut.sh
FILESDIR= ${TESTSDIR}
FILES= d_basic.out
FILES+= d_cut.in
FILES+= d_dflag.out
FILES+= d_dsflag.out
FILES+= d_latin1.in
FILES+= d_sflag.out
FILES+= d_utf8.in
.include <bsd.test.mk>