From 0fddc2535cf8675d38eb5d6f6727bdcb17cdbfea Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Sat, 14 May 2016 16:27:20 -0400 Subject: [PATCH] Tests: wording of trace_matches is misleading MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/utils/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1