]> git.lttng.org Git - lttng-tools.git/commit
tests: Test that no LTTng modules are loaded before and after kernel tests master
authorKienan Stewart <kstewart@efficios.com>
Thu, 4 Jul 2024 13:28:32 +0000 (09:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 29 Nov 2024 22:32:44 +0000 (17:32 -0500)
commit3821a2ac5048787a121ced82ab78555b8384b37c
treef0e84006616013168b54a79c7336b36564a02529
parent87634576208f47bfdd3f80b20b9d936bcf28eea0
tests: Test that no LTTng modules are loaded before and after kernel tests

Observed issue
==============

If a test or a component in LTTng fails to unload the modules
properly, the state of the system is polluted.

Solution
========

Use a helper test function and check before and after each of the
kernel tests.

Known drawbacks
===============

None.

Change-Id: I0cce0d9e280bd66535af490c9a111526ab78373c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
23 files changed:
tests/regression/kernel/test_all_events
tests/regression/kernel/test_callstack
tests/regression/kernel/test_channel
tests/regression/kernel/test_clock_override
tests/regression/kernel/test_event_basic
tests/regression/kernel/test_kernel_function
tests/regression/kernel/test_lttng_logger
tests/regression/kernel/test_ns_contexts
tests/regression/kernel/test_ns_contexts_change
tests/regression/kernel/test_rotation_destroy_flush
tests/regression/kernel/test_select_poll_epoll
tests/regression/kernel/test_syscall
tests/regression/kernel/test_userspace_probe
tests/regression/tools/clear/test_kernel
tests/regression/tools/crash/test_crash
tests/regression/tools/filtering/test_valid_filter
tests/regression/tools/live/test_kernel
tests/regression/tools/metadata/test_kernel
tests/regression/tools/regen-metadata/test_kernel
tests/regression/tools/regen-statedump/test_kernel
tests/regression/tools/rotation/test_kernel
tests/regression/tools/snapshots/test_kernel
tests/regression/tools/streaming/test_kernel
This page took 0.03134 seconds and 4 git commands to generate.