Author: ngie
Date: Thu Oct  9 01:53:23 2014
New Revision: 272784
URL: https://svnweb.freebsd.org/changeset/base/272784

Log:
  Integrate usr.bin/grep/tests from NetBSD into atf/kyua
  
  Sponsored by: EMC / Isilon Storage Division

Added:
  head/usr.bin/grep/tests/
  head/usr.bin/grep/tests/Makefile   (contents, props changed)
Modified:
  head/etc/mtree/BSD.tests.dist
  head/usr.bin/grep/Makefile

Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist       Thu Oct  9 01:46:31 2014        
(r272783)
+++ head/etc/mtree/BSD.tests.dist       Thu Oct  9 01:53:23 2014        
(r272784)
@@ -257,6 +257,8 @@
             ..
             file2c
             ..
+            grep
+            ..
             join
             ..
             jot

Modified: head/usr.bin/grep/Makefile
==============================================================================
--- head/usr.bin/grep/Makefile  Thu Oct  9 01:46:31 2014        (r272783)
+++ head/usr.bin/grep/Makefile  Thu Oct  9 01:53:23 2014        (r272784)
@@ -85,4 +85,8 @@ DPADD+=       ${LIBGNUREGEX}
 CFLAGS+= -DWITHOUT_NLS
 .endif
 
+.if ${MK_TESTS} != "no"
+SUBDIR+=       tests
+.endif
+
 .include <bsd.prog.mk>

Added: head/usr.bin/grep/tests/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/usr.bin/grep/tests/Makefile    Thu Oct  9 01:53:23 2014        
(r272784)
@@ -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>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to