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