[LTP] [PATCH 1/1] doc/c-API: Update module detection dependency

Petr Vorel pvorel@suse.cz
Wed Jun 21 14:55:53 CEST 2023


From: Petr Vorel <petr.vorel@gmail.com>

8f7013ba6 removed modprobe dependency, it was replaced by parsing files
generated by kmod.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 doc/c-test-api.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/c-test-api.txt b/doc/c-test-api.txt
index dcb6e1ba8..be63aa8cf 100644
--- a/doc/c-test-api.txt
+++ b/doc/c-test-api.txt
@@ -1606,8 +1606,8 @@ as a module. If '.needs_drivers' points to a 'NULL' terminated array of kernel
 module names these are all checked and the test exits with 'TCONF' on the
 first missing driver.
 
-Since it relies on modprobe command, the check will be skipped if the command
-itself is not available on the system.
+The detection is based on reading 'modules.dep' and 'modules.builtin' files
+generated by kmod. The check is skipped on Android.
 
 1.27 Saving & restoring /proc|sys values
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
2.40.1



More information about the ltp mailing list