[LTP] [PATCH v4 0/3] Kernel module detection (own implementation)
Petr Vorel
pvorel@suse.cz
Thu Jan 21 14:32:30 CET 2021
Hi,
changes v3->v4:
* fix memory leaks (add missing free())
* optimize handling input string (avoid unnecessary fgets())
* add missing static
* new commit: re-add tst_require_drivers veth in tst_net.sh
I'm for merging this variant which works with text files.
I haven't check the binary format yet, but it'd would most likely
require using libkmod. Do we want that?
Kind regards,
Petr
Petr Vorel (3):
lib: Fix kernel module detection on BusyBox
zram: Fix module detection on BusyBox
tst_net.sh: Require veth for netns (again)
lib/tst_kernel.c | 104 ++++++++++++++++--
.../kernel/device-drivers/zram/zram_lib.sh | 6 +-
testcases/lib/tst_net.sh | 1 +
3 files changed, 95 insertions(+), 16 deletions(-)
--
2.30.0
More information about the ltp
mailing list