From: Jérémie Galarneau Date: Sat, 14 May 2016 20:27:20 +0000 (-0400) Subject: Tests: wording of trace_matches is misleading X-Git-Tag: v2.6.3~63 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0fddc2535cf8675d38eb5d6f6727bdcb17cdbfea;p=lttng-tools.git Tests: wording of trace_matches is misleading trace_matches reports a number of "events found" in a trace while it actually counts the number of event_name matches. Signed-off-by: Jérémie Galarneau --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 793f0e938..4dc37db64 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -783,7 +783,7 @@ function trace_matches () if [ "$count" -ne "$nr_iter" ]; then fail "Trace match" - diag "$count events found in trace" + diag "$count matching events found in trace" else pass "Trace match" fi