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: https://git.lttng.org./?a=commitdiff_plain;h=c2e77b42f8f4010d8dfe3965448b5271ffcc29c0;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