[PATCH v2 0/5] kmod_module_insert_module() cleanup and test coverage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes since v1
1/5: whitespace fixes
     simplify allocations
     report which modules are missing or excess
3/5: removed stray stat() marker

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                            |  24 +++
 .../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.builtin.bin    |   0
 .../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
 .../test-modprobe/force/proc/modules               |   0
 .../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
 .../lib/modules/3.3.3/modules.builtin.bin          |   0
 .../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
 .../test-modprobe/oldkernel-force/proc/modules     |   0
 .../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
 .../lib/modules/3.3.3/modules.builtin.bin          |   0
 .../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
 .../test-modprobe/oldkernel/proc/modules           |   0
 testsuite/test-init.c                              |   1 +
 testsuite/test-modprobe.c                          |  82 ++++++++-
 testsuite/testsuite.c                              | 189 ++++++++++++++++++++-
 testsuite/testsuite.h                              |   2 +
 39 files changed, 326 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.8.4.5

--
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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux