test/power: fix turbo test
authorDavid Hunt <david.hunt@intel.com>
Wed, 12 May 2021 16:32:54 +0000 (17:32 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 12 May 2021 20:04:13 +0000 (22:04 +0200)
commit5bb0409b440bf43f38b90c196a66accd09a5bf8f
treee9bf8ff6d7114dc2b22d64827e3725681913f0da
parent0745214e9239784a62dba28c6ad6bbb211cde949
test/power: fix turbo test

when turbo is enabled or disabled, the frequency is set to a low non-turbo
frequency, so we need to set to the frequency expected by the test before
checking.

Fixes: aeaeaf5f2d62 ("test/power: add cases for turbo feature")
Cc: stable@dpdk.org
Signed-off-by: David Hunt <david.hunt@intel.com>
app/test/test_power_cpufreq.c