mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-23 07:31:31 +00:00
ipsec tests: Skip if ipsec.ko is not loaded
As of r347410 IPSec is no longer built into GENERIC. The ipsec.ko module must be loaded before we can execute the IPSec tests. Check this, and skip the tests if IPSec is not available.
This commit is contained in:
parent
88a950762a
commit
b685454a11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347641
@ -8,6 +8,10 @@
|
||||
|
||||
ist_init()
|
||||
{
|
||||
if ! sysctl -q kern.features.ipsec >/dev/null ; then
|
||||
atf_skip "This test requires ipsec"
|
||||
fi
|
||||
|
||||
vnet_init
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user