I only wanted to send the kmod_module_insert_module() patch after passing the testsuite, but then I noticed the testsuite is hardly testing it :). Michal Michal Marek (5): testsuite: Check the list of loaded modules after a test testsuite: Add test for modprobe --force testsuite: Do not provide finit_module(2) on older kernels Add some tests for kernels without finit_module(2) libkmod-module: Simplify kmod_module_insert_module() libkmod/libkmod-module.c | 27 ++-- testsuite/init_module.c | 25 +++ .../4.4.4/kernel/drivers/input/mouse/psmouse.ko | Bin 0 -> 95649 bytes .../force/lib/modules/4.4.4/modules.alias | 3 + .../force/lib/modules/4.4.4/modules.alias.bin | Bin 0 -> 101 bytes .../force/lib/modules/4.4.4/modules.dep | 1 + .../force/lib/modules/4.4.4/modules.dep.bin | Bin 0 -> 72 bytes .../force/lib/modules/4.4.4/modules.devname | 1 + .../force/lib/modules/4.4.4/modules.softdep | 2 + .../force/lib/modules/4.4.4/modules.symbols | 1 + .../force/lib/modules/4.4.4/modules.symbols.bin | Bin 0 -> 12 bytes .../3.3.3/kernel/drivers/input/mouse/psmouse.ko | Bin 0 -> 95649 bytes .../lib/modules/3.3.3/modules.alias | 3 + .../lib/modules/3.3.3/modules.alias.bin | Bin 0 -> 101 bytes .../oldkernel-force/lib/modules/3.3.3/modules.dep | 1 + .../lib/modules/3.3.3/modules.dep.bin | Bin 0 -> 72 bytes .../lib/modules/3.3.3/modules.devname | 1 + .../lib/modules/3.3.3/modules.softdep | 2 + .../lib/modules/3.3.3/modules.symbols | 1 + .../lib/modules/3.3.3/modules.symbols.bin | Bin 0 -> 12 bytes .../3.3.3/kernel/drivers/input/mouse/psmouse.ko | Bin 0 -> 95649 bytes .../oldkernel/lib/modules/3.3.3/modules.alias | 3 + .../oldkernel/lib/modules/3.3.3/modules.alias.bin | Bin 0 -> 101 bytes .../oldkernel/lib/modules/3.3.3/modules.dep | 1 + .../oldkernel/lib/modules/3.3.3/modules.dep.bin | Bin 0 -> 72 bytes .../oldkernel/lib/modules/3.3.3/modules.devname | 1 + .../oldkernel/lib/modules/3.3.3/modules.softdep | 2 + .../oldkernel/lib/modules/3.3.3/modules.symbols | 1 + .../lib/modules/3.3.3/modules.symbols.bin | Bin 0 -> 12 bytes testsuite/test-init.c | 1 + testsuite/test-modprobe.c | 82 ++++++++++- testsuite/testsuite.c | 158 +++++++++++++++++++- testsuite/testsuite.h | 2 + 33 files changed, 296 insertions(+), 23 deletions(-) create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.alias create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.alias.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.builtin.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.dep create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.dep.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.devname create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.softdep create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.symbols create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/lib/modules/4.4.4/modules.symbols.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/force/proc/modules create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/kernel/drivers/input/mouse/psmouse.ko create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.alias create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.alias.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.builtin.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.dep create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.dep.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.devname create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.softdep create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.symbols create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/lib/modules/3.3.3/modules.symbols.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel-force/proc/modules create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/kernel/drivers/input/mouse/psmouse.ko create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.alias create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.alias.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.builtin.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.dep create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.dep.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.devname create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.softdep create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.symbols create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/lib/modules/3.3.3/modules.symbols.bin create mode 100644 testsuite/rootfs-pristine/test-modprobe/oldkernel/proc/modules -- 1.7.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html