summaryrefslogtreecommitdiff
path: root/tests/atf_python/sys/netlink
AgeCommit message (Collapse)Author
2024-04-19tests: move atf_python/sys/ into the tests packageLexi Winter
Reviewed by: markj MFC after: 1 week Pull Request: https://github.com/freebsd/freebsd-src/pull/1174
2023-06-01netlink: add support for decoding genl ops/groups in pytestAlexander V. Chernikov
MFC after: 2 weeks
2023-05-16netlink: add support for adding/deleting interface addressesAlexander V. Chernikov
Differential Revision: https://reviews.freebsd.org/D40103 MFC after: 2 weeks
2023-05-15testing: rename IfattrType to IfaAttrType for consistencyAlexander V. Chernikov
All other attribute classes are named as 'type'AttrType and 'type' int this case is ifa (interface address). MFC after: 2 weeks
2023-05-15testing: add support for handling Netlink carp messagesAlexander V. Chernikov
MFC after: 2 weeks
2023-05-15testing: add support for using custom interfaces in pytest framework.Alexander V. Chernikov
MFC after: 2 weeks
2023-04-18tests: fix netlink type parsing.Alexander V. Chernikov
Netlink attribute type field is 2 bytes, not one. MFC after: 2 weeks
2023-04-14Testing: add framework for the kernel unit tests.Alexander V. Chernikov
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
2023-04-02tests: fix utils import in netlink testsAlexander V. Chernikov
MFC after: 2 weeks
2023-04-01tests: add support for parsing generic netlink families.Alexander V. Chernikov
MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39370
2023-04-01tests: split netlink.py into multiple files to impove maintainability.Alexander V. Chernikov
This diff does not contain any functional changes. Its sole purpose is splitting netlink.py into smaller chunks. The new code simplifies the upcoming generic netlink support introduction. MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39365