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

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2014-10-09 01:53:23 +00:00
parent 429a4fc8f2
commit 9cf2b42641
3 changed files with 47 additions and 0 deletions

View File

@ -257,6 +257,8 @@
..
file2c
..
grep
..
join
..
jot

View File

@ -85,4 +85,8 @@ DPADD+= ${LIBGNUREGEX}
CFLAGS+= -DWITHOUT_NLS
.endif
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.prog.mk>

View File

@ -0,0 +1,41 @@
# $FreeBSD$
TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/grep
.PATH: ${TESTSRC}
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/usr.bin/grep
ATF_TESTS_SH= grep_test
ATF_TESTS_SH_SRC_grep_test= t_grep.sh
FILESDIR= ${TESTSDIR}
FILES= d_basic.out
FILES+= d_begin_end_a.out
FILES+= d_begin_end_b.out
FILES+= d_binary.out
FILES+= d_context2_a.out
FILES+= d_context2_b.out
FILES+= d_context2_c.out
FILES+= d_context_a.in
FILES+= d_context_a.out
FILES+= d_context_b.in
FILES+= d_context_b.out
FILES+= d_context_c.out
FILES+= d_context_d.out
FILES+= d_egrep.out
FILES+= d_file_exp.in
FILES+= d_file_exp.out
FILES+= d_ignore_case.out
FILES+= d_input
FILES+= d_invert.in
FILES+= d_invert.out
FILES+= d_recurse.out
FILES+= d_recurse_symlink.err
FILES+= d_recurse_symlink.out
FILES+= d_whole_line.out
FILES+= d_word_regexps.out
FILES+= d_zgrep.out
.include <bsd.test.mk>