Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git] / tests / destructive / metadata-regeneration
index 729634f87d2b974f25760eb84d79cebe966beb7e..ce96bcd1a4ff9b68eb887bca9de3aea32437dca6 100755 (executable)
@@ -211,7 +211,7 @@ skip $isroot "Root access is needed. Skipping all tests." $NUM_TESTS ||
        modprobe lttng-test
        test_kernel_local
        test_kernel_streaming
-       rmmod lttng-test
+       modprobe --remove lttng-test
 
        test_ust_local
        test_ust_streaming
This page took 0.024308 seconds and 4 git commands to generate.