kmod/testsuite/rootfs-pristine
Jose Ignacio Tornos Martinez d06712b514 testsuite: add tests for weak dependencies
The following tests to verify weak dependencies have been implemented:
1) modprobe test to check that related weakdep modules are not loaded
   due to being a weakdep.
2) depmod test to check weakdep output.
3) user test to check that configuration files with weakdep are parsed
   correctly and related weakdep modules can be read correctly from user
   applications.

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Link: https://lore.kernel.org/r/20240530070836.9438-1-jtornosm@redhat.com
[ Minor whitespace issues and define MODULE_WEAKDEP if it's not defined
  already ]
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
2024-06-14 14:16:17 -05:00
..
test-blacklist/etc/modprobe.d testsuite: rename rootfs dir 2012-06-05 00:54:47 -03:00
test-dependencies/lib/modules/4.0.20-kmod testsuite: port test-dependencies to module-playground 2015-02-03 01:12:13 -02:00
test-depmod testsuite: add tests for weak dependencies 2024-06-14 14:16:17 -05:00
test-init-load-resources/lib/modules/5.6.0 testsuite: add check for kmod_load_resources 2020-03-23 12:39:58 -07:00
test-init-load-resources-empty-builtin-aliases-bin/lib/modules/5.6.0 testsuite: add test for empty modules.builtin.aliases.bin 2020-12-27 16:40:08 -08:00
test-initstate/lib/modules/4.4.4 testsuite: test builtin state 2015-02-28 14:18:54 -03:00
test-loaded testsuite: rename rootfs dir 2012-06-05 00:54:47 -03:00
test-modinfo testsuite: fix modinfo test without openssl 2019-02-04 14:25:03 -08:00
test-modprobe testsuite: add tests for weak dependencies 2024-06-14 14:16:17 -05:00
test-new-module testsuite: rename rootfs dir 2012-06-05 00:54:47 -03:00
test-rootfs testsuite: rename rootfs dir 2012-06-05 00:54:47 -03:00
test-user testsuite: add tests for weak dependencies 2024-06-14 14:16:17 -05:00
test-util testsuite: add more input cases to freadline_wrapped test 2015-01-21 10:18:07 -02:00
test-util2 testsuite: improve coverage of shared/util.h 2015-01-14 17:26:36 -02:00