1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00
freebsd/tests/atf_python
Kristof Provost ae8d588140 vnet tests: verify that we can load if_epair and if_bridge
We're going to start running many of the vnet tests in nested jails (so they
can run in parallel). That means the tests won't be able to load kernel modules,
which we commonly do for if_epair and if_bridge.

Just assume that all vnet tests need this, because so many of them do that we
don't want to manually annotate all of them.
This is essentially a no-op on non-nested tests.

Do the same for the python test framework.

While here also have pflog_init actually call pft_init. While having pflog
loaded implies we have pf too pft_init also checks for vimage support, and now
for if_epair.

Reviewed by:	markj
MFC after:	1 month
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D46039
2024-07-23 15:57:25 +02:00
..
sys vnet tests: verify that we can load if_epair and if_bridge 2024-07-23 15:57:25 +02:00
__init__.py
atf_pytest.py Testing: add framework for the kernel unit tests. 2023-04-14 15:47:55 +00:00
ktest.py ktest: make ktest work with Netlink loaded as a module. 2023-06-13 06:04:14 +00:00
Makefile pkgbase: Put atf_python files in FreeBSD-tests 2023-10-12 20:15:03 +02:00
utils.py testing: add public method for requiring module presense in pytest 2023-05-15 10:50:55 +00:00