From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [PATCH] test/metrics: Fixed a negative case to pass Date: Fri, 7 Dec 2018 11:45:21 +0000 Message-ID: <71d5a035-1d3b-bd42-59af-70e7932d127d@intel.com> References: <20181206150106.154090-1-hkalra@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , "jerin.jacobkollanukkaran@cavium.com" To: Harman Kalra Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id BE71F231E for ; Fri, 7 Dec 2018 12:45:24 +0100 (CET) In-Reply-To: <20181206150106.154090-1-hkalra@marvell.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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_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 Missing fixline: Fixes: cd3804242901 ("test/metrics: add unit tests for metrics library") Acked-by: Remy Horton