6b08e68be1
Test functionality of ng_vlan_rotate(4): - Rotate 1 to 9 stagged vlans in any possible direction and length - Rotate random combinations of ethertypes (8100, 88a8, 9100) - Automatic reverse rotating for backward data flow - Test too many and to few vlans Reviewed by: kp (earlier version) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30670
26 lines
457 B
Makefile
26 lines
457 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= tests
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/netgraph
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
TAP_TESTS_SH+= ng_macfilter_test
|
|
|
|
TEST_METADATA.ng_macfilter_test+= required_user="root"
|
|
TEST_METADATA.ng_macfilter_test+= required_programs="perl"
|
|
|
|
ATF_TESTS_C+= basic \
|
|
bridge \
|
|
hub \
|
|
vlan_rotate \
|
|
|
|
SRCS.basic= basic.c util.c
|
|
SRCS.bridge= bridge.c util.c
|
|
SRCS.hub= hub.c util.c
|
|
SRCS.vlan_rotate=vlan_rotate.c util.c
|
|
|
|
LIBADD+= netgraph
|
|
|
|
.include <bsd.test.mk>
|