Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git] / tests / regression / kernel / test_rotation_destroy_flush
index 03933a3af18e4079f8b1a6bfa9e28cc921a04376..7120864dcfe7dafa37982662119a1cc8e451a26c 100755 (executable)
@@ -39,7 +39,7 @@ source $TESTDIR/utils/utils.sh
 function signal_cleanup()
 {
        diag "*** Exiting ***"
-       modprobe -r lttng-test
+       modprobe --remove lttng-test
        full_cleanup
 }
 
@@ -106,7 +106,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.023551 seconds and 4 git commands to generate.