mirror of
https://github.com/opnsense/src.git
synced 2026-05-16 11:09:35 -04:00
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 too few vlans
Reviewed by: kp (earlier version)
Differential Revision: https://reviews.freebsd.org/D30670
(cherry picked from commit 6b08e68be1)
25 lines
457 B
Makefile
25 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>
|