xref: /freebsd/tests/sys/mac/ipacl/utils.subr (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
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