Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git] / tests / regression / tools / clear / test_kernel
index 051f3de24ec890756bc8dba13302af9145a754c4..01065748b898e192e0225be8b1477c602f067179 100755 (executable)
@@ -20,7 +20,7 @@ source $TESTDIR/utils/utils.sh
 function signal_cleanup ()
 {
        stop_lttng_sessiond
-       modprobe -r lttng-test
+       modprobe --remove lttng-test
        full_cleanup
 }
 
@@ -620,7 +620,7 @@ skip $isroot "Root access is needed. Skipping all kernel streaming tests." $NUM_
                clean_path $TRACE_PATH
        done
 
-       rmmod lttng-test
+       modprobe --remove lttng-test
        stop_lttng_sessiond
        stop_lttng_relayd
 
This page took 0.02313 seconds and 4 git commands to generate.