]> git.ipfire.org Git - thirdparty/kmod.git/commit
Added the test case of using multiple softdep for a module
authorGongjun Song <gongjun.song@intel.com>
Fri, 7 Mar 2025 15:03:18 +0000 (23:03 +0800)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 28 Mar 2025 15:59:48 +0000 (10:59 -0500)
commitb73b52004ec52f7f4d4786f57336bed2761be06e
tree03e35d063b9854e5cd4c245b4a01423af214a94e
parentda2654b78ce3af083e42c2f7512d09082b872676
Added the test case of using multiple softdep for a module

We defined two modules mod-softdep-a and mod-softdep-b. The softdep
statements are split into two separate modprobe configure files.

The unit test case is supposed to fail, since the libkmod will take
only the first softdep statement based on the current implementation.

Co-developed-by: Dan He <dan.h.he@intel.com>
Signed-off-by: Dan He <dan.h.he@intel.com>
Co-developed-by: Gongjun Song <gongjun.song@intel.com>
Signed-off-by: Gongjun Song <gongjun.song@intel.com>
Signed-off-by: Yuchi Chen <yuchi.chen@intel.com>
Signed-off-by: Wenjie Wang <wenjie2.wang@intel.com>
Signed-off-by: Qingqing Li <qingqing.li@intel.com>
Link: https://github.com/kmod-project/kmod/pull/311
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
18 files changed:
scripts/setup-rootfs.sh
testsuite/meson.build
testsuite/module-playground/Kbuild
testsuite/module-playground/mod-softdep-a.c [new file with mode: 0644]
testsuite/module-playground/mod-softdep-b.c [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/etc/modprobe.d/dumb-softdep.conf [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/etc/modprobe.d/dumb-softdep2.conf [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.alias [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.alias.bin [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.builtin.alias.bin [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.builtin.bin [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.dep [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.dep.bin [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.devname [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.softdep [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.symbols [new file with mode: 0644]
testsuite/rootfs-pristine/test-multi-softdep/lib/modules/4.4.4/modules.symbols.bin [new file with mode: 0644]
testsuite/test-multi-softdep.c [new file with mode: 0644]