svn commit: r272783 - in head: etc/mtree usr.bin/cut usr.bin/cut/tests

Garrett Cooper ngie at FreeBSD.org
Thu Oct 9 01:46:32 UTC 2014


Author: ngie
Date: Thu Oct  9 01:46:31 2014
New Revision: 272783
URL: https://svnweb.freebsd.org/changeset/base/272783

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

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

Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist	Thu Oct  9 01:39:07 2014	(r272782)
+++ head/etc/mtree/BSD.tests.dist	Thu Oct  9 01:46:31 2014	(r272783)
@@ -251,6 +251,8 @@
             ..
             comm
             ..
+            cut
+            ..
             dirname
             ..
             file2c

Modified: head/usr.bin/cut/Makefile
==============================================================================
--- head/usr.bin/cut/Makefile	Thu Oct  9 01:39:07 2014	(r272782)
+++ head/usr.bin/cut/Makefile	Thu Oct  9 01:46:31 2014	(r272783)
@@ -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>

Added: head/usr.bin/cut/tests/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/cut/tests/Makefile	Thu Oct  9 01:46:31 2014	(r272783)
@@ -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>


More information about the svn-src-head mailing list