Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

char: misc: improve testing Kconfig description

Describe that it tests the miscdevice API and include the usual disclaimer
about KUnit not being fit for production kernels.

While at it, also fix KUnit capitalization.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Link: https://lore.kernel.org/r/20250123123249.4081674-2-cascardo@igalia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Thadeu Lima de Souza Cascardo and committed by
Greg Kroah-Hartman
6aa98263 d9406677

+11 -4
+11 -4
lib/Kconfig.debug
··· 2479 2479 tristate "Perform selftest on IDA functions" 2480 2480 2481 2481 config TEST_MISC_MINOR 2482 - tristate "Basic misc minor Kunit test" if !KUNIT_ALL_TESTS 2482 + tristate "miscdevice KUnit test" if !KUNIT_ALL_TESTS 2483 2483 depends on KUNIT 2484 2484 default KUNIT_ALL_TESTS 2485 2485 help 2486 - Kunit test for the misc minor. 2487 - It tests misc minor functions for dynamic and misc dynamic minor. 2488 - This include misc_xxx functions 2486 + Kunit test for miscdevice API, specially its behavior in respect to 2487 + static and dynamic minor numbers. 2488 + 2489 + KUnit tests run during boot and output the results to the debug log 2490 + in TAP format (https://testanything.org/). Only useful for kernel devs 2491 + running the KUnit test harness, and not intended for inclusion into a 2492 + production build. 2493 + 2494 + For more information on KUnit and unit tests in general please refer 2495 + to the KUnit documentation in Documentation/dev-tools/kunit/. 2489 2496 2490 2497 If unsure, say N. 2491 2498