xref: /freebsd/tests/sys/mac/ipacl/utils.subr (revision 734e82fe33aa764367791a7d603b383996c6b40b)
1# Utility functions for mac_ipacl tests
2
3. $(atf_get_srcdir)/../../common/vnet.subr
4
5ipacl_test_init()
6{
7	vnet_init
8
9	if ! kldstat -q -m mac_ipacl; then
10		atf_skip "mac_ipacl is not loaded"
11	fi
12}
13
14ipacl_test_cleanup()
15{
16	vnet_cleanup
17}
18