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