Tests: wording of trace_matches is misleading
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 14 May 2016 20:27:20 +0000 (16:27 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 14 May 2016 20:36:07 +0000 (16:36 -0400)
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 <jeremie.galarneau@efficios.com>
tests/utils/utils.sh

index fe834cfaf47b1b2c3e394a20e880c987a4f15276..12bcc991a86dc5c4068a1d7f2ba48ca67c4769ec 100644 (file)
@@ -1198,7 +1198,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
This page took 0.026612 seconds and 4 git commands to generate.