From: Mathieu Desnoyers Date: Sat, 15 May 2021 00:57:33 +0000 (-0400) Subject: Fix: expected procname should not have -ust suffix X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cad725b17351f6aca689fcc389229b30e76098f0;p=lttng-tools.git Fix: expected procname should not have -ust suffix commit ("Fix: ustcomm: application name uses the '-ust'-suffixed thread name") in LTTng-UST removes "-ust" suffix from procname, which appears in the output trace directory hierarchy. Adapt tests to not expect this quirk. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau Change-Id: I96c3944124bbe154875085a37a51ba2bd458f83b --- diff --git a/tests/regression/tools/tracefile-limits/test_tracefile_size b/tests/regression/tools/tracefile-limits/test_tracefile_size index c07972b77..481abc92b 100755 --- a/tests/regression/tools/tracefile-limits/test_tracefile_size +++ b/tests/regression/tools/tracefile-limits/test_tracefile_size @@ -115,7 +115,7 @@ function test_tracefile_size_limit () # Validate tracing data, we should at least have some events - validate_trace_path_ust_pid "$trace_path" "" "gen-ust-eve-ust" + validate_trace_path_ust_pid "$trace_path" "" "gen-ust-events" validate_trace $event_name $trace_path rm -rf $trace_path @@ -154,7 +154,7 @@ function test_tracefile_size_limit_pagesize () # Validate tracing data, we should at least have some events - validate_trace_path_ust_pid "$trace_path" "" "gen-ust-eve-ust" + validate_trace_path_ust_pid "$trace_path" "" "gen-ust-events" validate_trace $event_name $trace_path rm -rf $trace_path