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