Integrate sbin/ifconfig/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-01-04 22:25:16 +00:00
parent bbae23a725
commit b219c275cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276668
4 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -160,6 +160,8 @@
..
growfs
..
ifconfig
..
mdconfig
..
..

View File

@ -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>

View File

@ -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>