diff options
author | 2025-05-21 15:16:09 +0200 | |
---|---|---|
committer | 2025-05-21 18:03:56 +0200 | |
commit | 77442ffa83e8ed49d1c5192b90f9950b192e09e5 (patch) | |
tree | 38101d9207b6700644873b4e36afb6309bb61e63 /MAINTAINERS | |
parent | can: dev: add struct data_bittiming_params to group FD parameters (diff) | |
download | wireguard-linux-77442ffa83e8ed49d1c5192b90f9950b192e09e5.tar.xz wireguard-linux-77442ffa83e8ed49d1c5192b90f9950b192e09e5.zip |
selftests: can: Import tst-filter from can-tests
Tests for the can subsystem have been in the can-tests repository[1] so
far. Start moving the tests to kernel selftests by importing the current
tst-filter test. The test is now named test_raw_filter and is substantially
updated to be more aligned with the kernel selftests, follow the coding
style, and simplify the validation of received CAN frames. We also include
documentation of the test design. The test verifies that the single filters
on raw CAN sockets work as expected.
We intend to import more tests from can-tests and add additional test cases
in the future. The goal of moving the CAN selftests into the tree is to
align the tests more closely with the kernel, improve testing of CAN in
general, and to simplify running the tests automatically in the various
kernel CI systems.
[1]: https://github.com/linux-can/can-tests
Signed-off-by: Felix Maurer <fmaurer@redhat.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://patch.msgid.link/87d289f333cba7bbcc9d69173ea1c320e4b5c3b8.1747833283.git.fmaurer@redhat.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index c8e91820b527..f08378409e34 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5267,6 +5267,7 @@ F: include/uapi/linux/can/isotp.h F: include/uapi/linux/can/raw.h F: net/can/ F: net/sched/em_canid.c +F: tools/testing/selftests/net/can/ CAN-J1939 NETWORK LAYER M: Robin van der Gracht <robin@protonic.nl> @@ -17042,6 +17043,7 @@ X: net/ceph/ X: net/mac80211/ X: net/rfkill/ X: net/wireless/ +X: tools/testing/selftests/net/can/ NETWORKING [IPSEC] M: Steffen Klassert <steffen.klassert@secunet.com> |