freebsd-src/tests/sys/netinet
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
..
libalias Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
arp.sh tests/arp: test arp -s/-S work 2024-02-20 10:32:03 -08:00
carp.py netinet tests: basic VRRP tests 2024-05-08 13:19:04 +02:00
carp.sh vnet tests: check for if_bridge.ko 2024-06-04 22:16:56 +02:00
divert.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fibs_test.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fibs.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
forward.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
igmp.py netinet tests: test that we send IGMP join/leave packets as expected 2023-12-19 17:47:41 +01:00
ip_reass_test.c tests: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ip6_v4mapped_test.c tests: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
lpm.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile tests/netinet: add UDP socket I/O tests 2024-03-22 22:44:16 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
output.sh netinet tests: Make test jail names unique 2024-01-27 13:51:37 -05:00
redirect.py Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
redirect.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
so_reuseport_lb_test.c tests: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
socket_afinet.c
tcp_connect_port_test.c tests: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
tcp_implied_connect.c tests/netinet: push variable 'sin' into function scope 2024-02-02 21:09:02 -08:00
tcp_md5_getsockopt.c
tcp_user_cookie.c
udp_dontroute.c
udp_io.c tests/netinet: fix UDP I/O test build 2024-03-23 09:21:13 -07:00