X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_kernel;h=4caa976b2ee6c6cf2e37e05dc763aadff107e6c3;hb=3780613c550126cdd41a11716eba6d13b5809004;hp=990e8bc8da168edb1b71ae5717998f7fe3687ac6;hpb=cb7237295335b181ac1959001e9e71aab7a19fdc;p=lttng-tools.git diff --git a/tests/regression/tools/notification/test_notification_kernel b/tests/regression/tools/notification/test_notification_kernel index 990e8bc8d..4caa976b2 100755 --- a/tests/regression/tools/notification/test_notification_kernel +++ b/tests/regression/tools/notification/test_notification_kernel @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (C) 2017 Jonathan Rajotte-Julien +# Copyright (C) 2017 Jonathan Rajotte # # SPDX-License-Identifier: LGPL-2.1-only @@ -12,7 +12,6 @@ TMPDIR=$(mktemp -d) #This is needed since the testpoint create a pipe with the consumerd type suffixed TESTPOINT_BASE_PATH=$(readlink -f "$TMPDIR/lttng.t_p_n") TESTPOINT_PIPE_PATH=$(mktemp -u "${TESTPOINT_BASE_PATH}.XXXXXX") -TESTPOIT_ARGS="CONSUMER_PAUSE_PIPE_PATH=${TESTPOINT_PIPE_PATH} LTTNG_TESTPOINT_ENABLE=1" TESTPOINT=$(readlink -f ${CURDIR}/.libs/libpause_consumer.so) @@ -91,7 +90,7 @@ function kernel_test wait $APP_PID 2> /dev/null - rmmod lttng-test + modprobe --remove lttng-test rm -rf ${consumerd_pipe[@]} 2> /dev/null }