Author: kp Date: Thu May 16 02:18:57 2019 New Revision: 347641 URL: https://svnweb.freebsd.org/changeset/base/347641
Log: 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. Modified: head/tests/sys/netipsec/tunnel/utils.subr Modified: head/tests/sys/netipsec/tunnel/utils.subr ============================================================================== --- head/tests/sys/netipsec/tunnel/utils.subr Thu May 16 02:11:33 2019 (r347640) +++ head/tests/sys/netipsec/tunnel/utils.subr Thu May 16 02:18:57 2019 (r347641) @@ -8,6 +8,10 @@ ist_init() { + if ! sysctl -q kern.features.ipsec >/dev/null ; then + atf_skip "This test requires ipsec" + fi + vnet_init } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"