Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git] / tests / regression / kernel / test_rotation_destroy_flush
index 538d09b01157ee5a236723fe377c9718cb81f7ae..722468f5757aeb73f26b899ec2ee1582049ce09d 100755 (executable)
@@ -29,7 +29,7 @@ source $TESTDIR/utils/utils.sh
 function signal_cleanup()
 {
        diag "*** Exiting ***"
-       modprobe -r lttng-test
+       modprobe --remove lttng-test
        full_cleanup
 }
 
@@ -96,7 +96,7 @@ function test_rotation_destroy_flush_single()
 
        rm -rf $TRACE_PATH
 
-       modprobe -r lttng-test
+       modprobe --remove lttng-test
        stop_lttng_sessiond
 }
 
This page took 0.023045 seconds and 4 git commands to generate.