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

Avinesh Kumar akumar@suse.de
Thu Jun 29 09:18:41 CEST 2023


Reviewed-by: Avinesh Kumar <akumar@suse.de>

On Wednesday, June 21, 2023 6:25:53 PM IST Petr Vorel wrote:
> 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
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






More information about the ltp mailing list