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.8.0~126 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=235dea1667e55362b161aef67eb1fc7304973019;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