svn commit: r272780 - in head: etc/mtree usr.bin/cmp usr.bin/cmp/tests
Garrett Cooper
ngie at FreeBSD.org
Thu Oct 9 00:50:35 UTC 2014
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>
More information about the svn-src-all
mailing list