[LTP] [PATCH v3 1/2] lib/tst_test.c: add 'needs_drivers' option with tst_check_drivers cmd

Petr Vorel pvorel@suse.cz
Wed Sep 19 15:23:34 CEST 2018


Hi Alexey,

> The drivers are checked with modprobe. If modprobe is not available
> on the system, the checks are silently skipped.

> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>

> ---
> v3: * Changed the docs according to the Cyril's comment
>     * Added curly braces in tst_check_drivers.c
>     * Added dry-run option to modprobe
I like this change as it allows to load module with parameters later.


Kind regards,
Petr


More information about the ltp mailing list