test/latency: fix loop boundary
authorDavid Marchand <david.marchand@redhat.com>
Sat, 2 Oct 2021 16:24:31 +0000 (18:24 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 5 Oct 2021 15:29:42 +0000 (17:29 +0200)
commitcb3dd14c77f4a44c204b7ac10898ecc33afeb9a0
tree10c82035cd1044bc89abfe95195f24b9699b67bf
parentc6c865d7e2e47a3a1a65a091103cca056bb073ef
test/latency: fix loop boundary

Caught running ASAN.

lat_stats_strings[] is an array containing NUM_STATS strings.

Fixes: 1e3676a06e4c ("test/latency: add unit tests for latencystats library")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
app/test/test_latencystats.c