Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2014 00:50:34 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272780 - in head: etc/mtree usr.bin/cmp usr.bin/cmp/tests
Message-ID:  <201410090050.s990oYFL021328@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Oct  9 00:50:33 2014
New Revision: 272780
URL: https://svnweb.freebsd.org/changeset/base/272780

Log:
  Integrate usr.bin/cmp/tests from NetBSD into atf/kyua
  
  In collaboration with: sjg
  Sponsored by: EMC / Isilon Storage Division

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

Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist	Thu Oct  9 00:41:42 2014	(r272779)
+++ head/etc/mtree/BSD.tests.dist	Thu Oct  9 00:50:33 2014	(r272780)
@@ -245,6 +245,8 @@
             ..
             calendar
             ..
+            cmp
+            ..
             comm
             ..
             file2c

Modified: head/usr.bin/cmp/Makefile
==============================================================================
--- head/usr.bin/cmp/Makefile	Thu Oct  9 00:41:42 2014	(r272779)
+++ head/usr.bin/cmp/Makefile	Thu Oct  9 00:50:33 2014	(r272780)
@@ -1,7 +1,13 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 PROG=	cmp
 SRCS=	cmp.c link.c misc.c regular.c special.c
 
+.if ${MK_TESTS} != "no"
+SUBDIR+=	tests
+.endif
+
 .include <bsd.prog.mk>

Added: head/usr.bin/cmp/tests/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/cmp/tests/Makefile	Thu Oct  9 00:50:33 2014	(r272780)
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+TESTSRC=	${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/cmp
+.PATH: ${TESTSRC}
+
+.include <bsd.own.mk>
+
+TESTSDIR=	${TESTSBASE}/usr.bin/cmp
+ATF_TESTS_SH=	cmp_test
+ATF_TESTS_SH_SRC_cmp_test=	t_cmp.sh
+
+.include <bsd.test.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410090050.s990oYFL021328>