Tests: fix: test_kernel_function: event name mismatch
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Feb 2022 22:00:40 +0000 (17:00 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 28 Feb 2022 21:46:10 +0000 (16:46 -0500)
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 <jeremie.galarneau@efficios.com>
Change-Id: I6e7f85af33699b2bf0439f74343d521f896594e1

tests/regression/kernel/test_kernel_function

index 97f3faebf8e69619a43b502df1bacb2f93914954..8b37a91625d9b0d30bb00721aba3c856fdb34229 100755 (executable)
@@ -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
 
This page took 0.025405 seconds and 4 git commands to generate.