X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fkernel%2Ftest_rotation_destroy_flush;h=7120864dcfe7dafa37982662119a1cc8e451a26c;hb=962971d24e31ba0a82094e1786a2bfce124cc29f;hp=0b0b0ca7513399ef1acf6980e7f5f44a51eca9a8;hpb=eae79fb914fa4f4aa9d09b32f08723f74dcb9c71;p=lttng-tools.git diff --git a/tests/regression/kernel/test_rotation_destroy_flush b/tests/regression/kernel/test_rotation_destroy_flush index 0b0b0ca75..7120864dc 100755 --- a/tests/regression/kernel/test_rotation_destroy_flush +++ b/tests/regression/kernel/test_rotation_destroy_flush @@ -39,9 +39,8 @@ source $TESTDIR/utils/utils.sh function signal_cleanup() { diag "*** Exiting ***" - rmmod lttng-test - stop_lttng_sessiond - exit 1 + modprobe --remove lttng-test + full_cleanup } function enable_kernel_lttng_channel_size_limit () @@ -107,7 +106,7 @@ function test_rotation_destroy_flush_single() rm -rf $TRACE_PATH - rmmod lttng-test + modprobe --remove lttng-test stop_lttng_sessiond }