2020-12-08 15:09:42 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PACKAGE= tests
|
|
|
|
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/netgraph
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
|
|
|
|
TAP_TESTS_SH+= ng_macfilter_test
|
|
|
|
|
2023-03-18 14:57:36 +00:00
|
|
|
# Serialize tests since some share netgraph node names.
|
|
|
|
TEST_METADATA+= is_exclusive=true
|
2021-02-23 17:02:31 +00:00
|
|
|
TEST_METADATA.ng_macfilter_test+= required_user="root"
|
|
|
|
TEST_METADATA.ng_macfilter_test+= required_programs="perl"
|
2020-12-08 15:09:42 +00:00
|
|
|
|
2021-06-06 23:56:12 +00:00
|
|
|
ATF_TESTS_C+= basic \
|
|
|
|
bridge \
|
|
|
|
hub \
|
|
|
|
vlan_rotate \
|
2021-06-02 22:29:46 +00:00
|
|
|
|
|
|
|
SRCS.basic= basic.c util.c
|
2021-06-04 10:59:00 +00:00
|
|
|
SRCS.bridge= bridge.c util.c
|
2021-06-03 22:22:29 +00:00
|
|
|
SRCS.hub= hub.c util.c
|
2021-06-06 23:56:12 +00:00
|
|
|
SRCS.vlan_rotate=vlan_rotate.c util.c
|
2021-06-02 22:29:46 +00:00
|
|
|
|
|
|
|
LIBADD+= netgraph
|
2020-12-08 15:09:42 +00:00
|
|
|
|
|
|
|
.include <bsd.test.mk>
|