Fix: test: lttng kernel modules still loaded after running test_clock_override
[lttng-tools.git] / tests / regression / kernel / test_clock_override
index 9dcde73d821e2939ddb2efcf39370b71becca5af..0a44f5f288d5acf6e1f597295c298ccd83b6f14f 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.
@@ -182,6 +182,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.023044 seconds and 4 git commands to generate.