Date: Thu, 16 May 2019 02:18:57 +0000 (UTC) From: Kristof Provost <kp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r347641 - head/tests/sys/netipsec/tunnel Message-ID: <201905160218.x4G2IvQT017605@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905160218.x4G2IvQT017605>