Fix: test: lttng kernel modules still loaded after running test_clock_override
[lttng-tools.git] / tests / regression / kernel / test_clock_override
index cef30dc30dd048c9ccf001343b413049c4966630..72892898b8773623b809642f2ae2f12fc467e981 100755 (executable)
@@ -149,7 +149,7 @@ function test_clock_override_timestamp()
        destroy_lttng_session_ok $SESSION_NAME
 
        stop_lttng_sessiond
-       modprobe --remove lttng-clock-plugin-test lttng-clock lttng-test
+       modprobe --remove lttng-test lttng-clock-plugin-test lttng-clock
 
        # Use Babeltrace with "-n all" to give a comma separated list for
        # easy extraction of timestamps.
@@ -180,6 +180,7 @@ fi
 
 skip $isroot "Root access is needed. Skipping all tests." $NUM_TESTS ||
 {
+       validate_lttng_modules_present
        trap signal_cleanup SIGTERM SIGINT
 
        while [ "$i" -lt "$TEST_COUNT" ]; do
This page took 0.024203 seconds and 4 git commands to generate.