]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
blackhole_dev: convert self-test to KUnit
authorTamir Duberstein <tamird@gmail.com>
Sat, 8 Feb 2025 19:26:43 +0000 (14:26 -0500)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Feb 2025 00:21:42 +0000 (16:21 -0800)
commitb341f6fd45abb188653d9e0a2816bc53d64278b1
tree089039265b984940db8a3559fee61b6454232d26
parentb6df0523ecee0a71ccec3e80f21be691c2415b79
blackhole_dev: convert self-test to KUnit

Convert this very simple smoke test to a KUnit test.

Add a missing `htons` call that was spotted[0] by kernel test robot
<lkp@intel.com> after initial conversion to KUnit.

Link: https://lore.kernel.org/oe-kbuild-all/202502090223.qCYMBjWT-lkp@intel.com/
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://patch.msgid.link/20250208-blackholedev-kunit-convert-v2-1-182db9bd56ec@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
lib/Kconfig.debug
lib/Makefile
lib/blackhole_dev_kunit.c [moved from lib/test_blackhole_dev.c with 68% similarity]
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/test_blackhole_dev.sh [deleted file]