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.9.0-rc1~276 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=af91abc917f6b57b721a3c2a8c38ea0f4bc94d55;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 0a4d59156..c59442b22 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -1224,7 +1224,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