automated: linux: modules: check for stuck modules

Introduce a helper to verify that a module is properly unloaded after
modprobe --remove. If a module remains listed in lsmod, it indicates a
stuck reference count and a possible kernel bug.

This improves the robustness of module load/unload testing by catching
incomplete removals.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 file changed
tree: a0ce44fe9c9169dce6660d5284d0f5455e9ce0b5
  1. .github/
  2. .reuse/
  3. automated/
  4. docs/
  5. LICENSES/
  6. manual/
  7. mkdocs_plugin/
  8. plans/
  9. test/
  10. .gitignore
  11. .readthedocs.yml
  12. COPYING
  13. COPYRIGHTS
  14. mkdocs.yml
  15. README.md
  16. sanity-check.sh
  17. test.sh
  18. validate.py
README.md

Build Status REUSE Compliance Check

Test Definitions

A set of testing scripts designed to work with LAVA. Also contains test-runner script that allows execution outside LAVA.

More details in docs