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: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=c3195dc014d24fde6752d0c678934f2b3253ab1d 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