Re: [PATCH kmod] testsuite: add tests for weak dependencies

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

 



On Thu, May 30, 2024 at 09:08:27AM GMT, Jose Ignacio Tornos Martinez wrote:
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@xxxxxxxxxx>

A few whitespace issues below in testsuite/test-user.c
Also we need to define MODULE_WEAKDEP for the mod-weakdep.ko otherwise
we break the build without that defined by kernel-headers.

I fixed those, squashed, and pushed.

Thanks
Lucas De Marchi




[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