HardenedBSD/tests/sys/net/if_ovpn
Kristof Provost 480ad40553 vnet tests: check for if_bridge.ko
A number of tests create a bridge, but did not check if if_bridge.ko is loaded.

We usually get away with that, because `ifconfig bridge create` autoloads the
module, but if we run the tests in a jail (e.g. because of kyua's upcoming
execenv.jail.params feature) we can't load the module and these tests can fail.

Check if the module is loaded, skip the test if it is not.

Reviewed by:	markj
MFC after:	1 week
Event:		Kitchener-Waterloo Hackathon 202406
Differential Revision:	https://reviews.freebsd.org/D45487
2024-06-04 22:16:56 +02:00
..
ccd
ca.crt
ca.key
client2.crt
client2.key
client.crt
client.key
dh.pem
if_ovpn_c.c if_ovpn tests: skip the if_ovpn_c test if if_ovpn.ko isn't loaded 2023-03-01 10:07:34 +01:00
if_ovpn.sh vnet tests: check for if_bridge.ko 2024-06-04 22:16:56 +02:00
Makefile if_ovpn tests: Serialize 2023-03-30 19:35:59 -04:00
server.crt
server.key
user.pass
utils.subr spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00