diff options
author | ngie <ngie@FreeBSD.org> | 2015-01-04 22:25:16 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-01-04 22:25:16 +0000 |
commit | bcb054827263dd547ce2faa8855f367f6a3c50f4 (patch) | |
tree | 711a7c1a8ecc39c183c36e8965bfe9ff1314d2df /sbin/ifconfig | |
parent | 565507a6366963330d648a893a7a2380a2452fd6 (diff) | |
download | FreeBSD-src-bcb054827263dd547ce2faa8855f367f6a3c50f4.zip FreeBSD-src-bcb054827263dd547ce2faa8855f367f6a3c50f4.tar.gz |
Integrate sbin/ifconfig/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/Makefile | 4 | ||||
-rw-r--r-- | sbin/ifconfig/tests/Makefile | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile index 885f8a9..ac7faf9 100644 --- a/sbin/ifconfig/Makefile +++ b/sbin/ifconfig/Makefile @@ -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> diff --git a/sbin/ifconfig/tests/Makefile b/sbin/ifconfig/tests/Makefile new file mode 100644 index 0000000..044e979 --- /dev/null +++ b/sbin/ifconfig/tests/Makefile @@ -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> |