HomeFreeBSD

tests/netgraph: Inital framework for testing libnetgraph

Description

tests/netgraph: Inital framework for testing libnetgraph

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

Details

Provenance
donnerAuthored on Jun 2 2021, 10:29 PM
Reviewer
kp
Differential Revision
D30629: tests/netgraph: Inital framework for testing libnetgraph
Parents
rGc8250c5ada85: ipfw.8: synopsis misses nat show form
Branches
Unknown
Tags
Unknown