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