1PACKAGE= tests 2 3ATF_TESTS_C+= ether_test 4ATF_TESTS_C+= eui64_aton_test 5ATF_TESTS_C+= eui64_ntoa_test 6 7CFLAGS+= -I${.CURDIR} 8 9NETBSD_ATF_TESTS_C+= getprotoent_test 10NETBSD_ATF_TESTS_C+= ether_aton_test 11 12SRCS.ether_aton_test= aton_ether_subr.c t_ether_aton.c 13 14# TODO: hostent_test 15NETBSD_ATF_TESTS_SH= nsdispatch_test 16NETBSD_ATF_TESTS_SH+= protoent_test 17NETBSD_ATF_TESTS_SH+= servent_test 18 19BINDIR= ${TESTSDIR} 20 21PROGS= h_nsd_recurse 22PROGS+= h_protoent 23PROGS+= h_servent 24PROGS+= h_dns_server 25 26LIBADD.h_nsd_recurse+= pthread 27 28CLEANFILES+= aton_ether_subr.c 29aton_ether_subr.c: gen_ether_subr ${SRCTOP}/sys/net/if_ethersubr.c 30 ${__MAKE_SHELL} ${.ALLSRC} ${.TARGET} 31 32.include "../Makefile.netbsd-tests" 33 34# TODO: the testcases needs to be ported to FreeBSD 35#TESTS_SUBDIRS= getaddrinfo 36${PACKAGE}FILES+= hosts 37${PACKAGE}FILES+= resolv.conf 38 39ATF_TESTS_SH_SED_servent_test= -e 's,services.cdb,services.db,g' 40 41.include <bsd.test.mk> 42