From: Jérémie Galarneau Date: Wed, 9 Feb 2022 22:00:40 +0000 (-0500) Subject: Tests: fix: test_kernel_function: event name mismatch X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ee7ad68d30548beb25f80850b6a0681f2694bcfd;p=lttng-tools.git Tests: fix: test_kernel_function: event name mismatch The test_kernel_function test expects the name of the function exit event to be suffixed with "_return". This was changed to "_exit" during the development of the 2.13 release. Signed-off-by: Jérémie Galarneau Change-Id: I6e7f85af33699b2bf0439f74343d521f896594e1 --- diff --git a/tests/regression/kernel/test_kernel_function b/tests/regression/kernel/test_kernel_function index 97f3faebf..8b37a9162 100755 --- a/tests/regression/kernel/test_kernel_function +++ b/tests/regression/kernel/test_kernel_function @@ -31,7 +31,7 @@ function test_kernel_function_basic() stop_lttng_tracing_ok validate_trace "${EVENT_NAME}_entry" $TRACE_PATH - validate_trace "${EVENT_NAME}_return" $TRACE_PATH + validate_trace "${EVENT_NAME}_exit" $TRACE_PATH destroy_lttng_session_ok $SESSION_NAME