test/hash: fix off-by-one check on core count
authorDavid Marchand <david.marchand@redhat.com>
Sat, 15 Jun 2019 06:42:19 +0000 (08:42 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 27 Jun 2019 20:31:18 +0000 (22:31 +0200)
commitbf7a24b997dc1f7516f38a38a8ce3c364d64aff4
treef208355442cd37eb3844ea070633ca88970fc6e2
parentc57c8cb42efdc3d283a299a90b82750c9617236e
test/hash: fix off-by-one check on core count

This subtest wants to start rwc_core_cnt[n] reader threads, while the
master core is waiting for them to report.

Fixes: c7eb0972e74b ("test/hash: add lock-free r/w concurrency")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
app/test/test_hash_readwrite_lf.c