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>
Fri, 20 May 2016 20:34:46 +0000 (16:34 -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 793f0e9388a3986a345e655cf3067584cb1607fd..4dc37db646e4432cd16a15f312c026cff43b0b8f 100644 (file)
@@ -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
This page took 0.026225 seconds and 4 git commands to generate.