[LTP] [PATCH v2 1/2] lib: Fix kernel module detection on BusyBox

Petr Vorel pvorel@suse.cz
Tue Jan 19 08:41:59 CET 2021


Hi,

> diff --git a/lib/tst_kernel.c b/lib/tst_kernel.c
...
> -int tst_check_driver(const char *name)
> +#ifndef __ANDROID__
> +# define MODULES_DIR "/lib/modules"
> +#else
> +# define MODULES_DIR "/system/lib/modules"
> +#endif

OK, MODULES_DIR is not needed now as I kept Android skipped (unless somebody
contributes code or share algorithm for Android).

Kind regards,
Petr


More information about the ltp mailing list