aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ktest
Commit message (Collapse)AuthorAgeFilesLines
* tcp: Initial ktest for HPTSNick Banks2025-10-132-1/+15
| | | | | | Reviewed by: rrs, tuexen Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D52979
* modules: Simplify some expressionsWarner Losh2025-10-102-5/+3
| | | | | | | When we only use SYSDIR once or twice, expand it and don't define it. Minor other consistency changes. Sponsored by: Netflix
* kern: Remove needless kern.opts.mkWarner Losh2025-10-103-8/+0
| | | | | | | | We don't need kern.opts.mk in any of these places. None of these Makefiles reference any MK_ options. Some don't even need SYSDIR, but leave that defined in the ones that do. Sponsored by: Netflix
* Remove residual blank line at start of MakefileWarner Losh2024-07-153-3/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* netlink: move NETLINK define to opt_global.hKristof Provost2023-10-133-3/+0
| | | | | | | | | | | | | Move the NETLINK define into opt_global.h so we can rely on it being set correctly, without having to remember to include opt_netlink.h. This ensures that the NETLINK define is correctly set. If not we may end up with unloadable modules, due to missing symbols (such as nlmsg_get_group_writer). PR: 274306 Reviewed by: imp, markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42179
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-163-3/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* ktest: make ktest work with Netlink loaded as a module.Alexander V. Chernikov2023-06-131-0/+1
| | | | MFC after: 2 weeks
* netlink: use netlink mbufs in the mbuf chains.Alexander V. Chernikov2023-06-022-1/+17
| | | | | | | | | Continue D40356 and switch the remaining parts of mbuf-related code to the Netlink mbufs. Reviewed By: gallatin Differential Revision: https://reviews.freebsd.org/D40368 MFC after: 2 weeks
* Testing: add framework for the kernel unit tests.Alexander V. Chernikov2023-04-143-0/+34
This changes intends to reduce the bar to the kernel unit-testing by introducing a new kernel-testing framework ("ktest") based on Netlink, loadable test modules and python test suite integration. This framework provides the following features: * Integration to the FreeBSD test suite * Automatic test discovery * Automatic test module loading * Minimal boiler-plate code in both kernel and userland * Passing any metadata to the test * Convenient environment pre-setup using python testing framework * Streaming messages from the kernel to the userland * Running tests in the dedicated taskqueues * Skipping or parametrizing tests Differential Revision: https://reviews.freebsd.org/D39385 MFC after: 2 weeks