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

2018-12-07 Thread Remy Horton
Git apply choked on the patch but it applied using patch -p0 - I'm guessing this is a problem with patches made using diff rather than git format-patch. The change itself is fine though. :) On 06/12/2018 15:01, Harman Kalra wrote: Negative test case for passing invalid count size to rte_metric

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

2018-12-06 Thread 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 --- test/test/test_me