svn commit: r276668 - in head: . etc/mtree sbin/ifconfig sbin/ifconfig/tests
Garrett Cooper
ngie at FreeBSD.org
Sun Jan 4 22:25:18 UTC 2015
Author: ngie
Date: Sun Jan 4 22:25:16 2015
New Revision: 276668
URL: https://svnweb.freebsd.org/changeset/base/276668
Log:
Integrate sbin/ifconfig/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
Added:
head/sbin/ifconfig/tests/Makefile (contents, props changed)
Modified:
head/ObsoleteFiles.inc
head/etc/mtree/BSD.tests.dist
head/sbin/ifconfig/Makefile
Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc Sun Jan 4 21:16:53 2015 (r276667)
+++ head/ObsoleteFiles.inc Sun Jan 4 22:25:16 2015 (r276668)
@@ -308,7 +308,6 @@ OLD_DIRS+=usr/include/clang/3.4
OLD_FILES+=usr/share/mk/src.opts.mk
# 20140505: Reject PR kern/187551
OLD_DIRS+=usr/tests/sbin/ifconfig
-OLD_FILES+=usr/tests/sbin/ifconfig/Kyuafile
OLD_FILES+=usr/tests/sbin/ifconfig/fibs_test
# 20140502: Removal of lindev(4)
OLD_FILES+=usr/share/man/man4/lindev.4.gz
Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist Sun Jan 4 21:16:53 2015 (r276667)
+++ head/etc/mtree/BSD.tests.dist Sun Jan 4 22:25:16 2015 (r276668)
@@ -160,6 +160,8 @@
..
growfs
..
+ ifconfig
+ ..
mdconfig
..
..
Modified: head/sbin/ifconfig/Makefile
==============================================================================
--- head/sbin/ifconfig/Makefile Sun Jan 4 21:16:53 2015 (r276667)
+++ head/sbin/ifconfig/Makefile Sun Jan 4 22:25:16 2015 (r276668)
@@ -65,4 +65,8 @@ MAN= ifconfig.8
CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
WARNS?= 2
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
Added: head/sbin/ifconfig/tests/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sbin/ifconfig/tests/Makefile Sun Jan 4 22:25:16 2015 (r276668)
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+OBJTOP= ${.OBJDIR}/../../..
+SRCTOP= ${.CURDIR}/../../..
+TESTSRC= ${SRCTOP}/contrib/netbsd-tests/sbin/ifconfig
+
+TESTSDIR= ${TESTSBASE}/sbin/ifconfig
+
+NETBSD_ATF_TESTS_SH= nonexistent_test
+
+.include <netbsd-tests.test.mk>
+
+.include <bsd.test.mk>
More information about the svn-src-all
mailing list