mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Provide a framework of functions to test various netgraph modules. Tests contain: - creating, renaming, and destroying nodes - connecting and removing hooks - sending and receiving data - sending ASCII messages - errors can be passed for indiviual inspection or fail the test Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30629
19 lines
329 B
Makefile
19 lines
329 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 \
|
|
|
|
SRCS.basic= basic.c util.c
|
|
|
|
LIBADD+= netgraph
|
|
|
|
.include <bsd.test.mk>
|