[dpdk-dev] [PATCH v2] test/metrics: Fixed a negative case to pass

Thomas Monjalon thomas at monjalon.net
Sun Jan 20 22:31:52 CET 2019


10/12/2018 09:39, Harman Kalra:
> Negative test case for passing invalid count size to
> rte_metrics_update_values() will pass if count value
> is any value greater than 1 because set size wrt to
> key id 1 is 1 and passing 0 as no of values to be
> updated will not hit the ERANGE check.
> 
> Signed-off-by: Harman Kalra <hkalra at marvell.com>

Adding comment from Remy:
Fixes: cd3804242901 ("test/metrics: add unit tests for metrics library")
Acked-by: Remy Horton <remy.horton at intel.com>

Applied, thanks




More information about the dev mailing list