freebsd_amp_hwpstate/tests/sys/netpfil/common
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
..
Makefile pf tests: test that we validate sequence numbers on TCP RST 2023-12-05 21:03:49 +01:00
dummynet.sh netpfil tests: make the pls tests more robust 2024-06-04 14:59:59 +02:00
forward.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fragments.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nat.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pass_block.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pft_icmp_check.py netpfil tests: improve sniffer.py 2023-01-22 04:26:32 +01:00
pft_ping.py pf tests: ensure that pflog shows malformed packets as blocked, not passed 2024-01-04 23:08:08 +01:00
pft_rst.py pf tests: test that we validate sequence numbers on TCP RST 2023-12-05 21:03:49 +01:00
pft_synflood.py pf tests: test syncookies on IPv6 2023-08-21 13:19:41 +02:00
rdr.sh vnet tests: check for if_bridge.ko 2024-06-04 22:16:56 +02:00
runner.subr Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
sniffer.py pf tests: Add option to send fragmented packets 2023-10-26 15:25:20 +02:00
tos.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
utils.subr Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00