Documentation ¶
Overview ¶
Package testutil contains some helpers for testing PPP and PPPoE connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPrivilegeForContainerTests ¶
func CheckPrivilegeForContainerTests() error
CheckPrivilegeForContainerTests returns nil if Docker and raw socket based tests can be run.
func StartServer ¶
func StartServer() (func(), error)
StartServer runs a PPP+PPPoE server in a Docker container. It returns a closer function (which should be defer-ed), or an error if server startup fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.