From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 8F75058D4 for ; Thu, 3 Dec 2015 04:23:07 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 02 Dec 2015 19:23:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,376,1444719600"; d="scan'208";a="865509331" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 02 Dec 2015 19:23:05 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id tB33N4G2004087; Thu, 3 Dec 2015 11:23:04 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id tB33N01X025668; Thu, 3 Dec 2015 11:23:02 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id tB33N0AJ025664; Thu, 3 Dec 2015 11:23:00 +0800 From: Helin Zhang To: dev@dpdk.org Date: Thu, 3 Dec 2015 11:22:59 +0800 Message-Id: <1449112979-25634-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] app/test: fix of returning wrong value X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 03:23:08 -0000 In the KNI unit test, if all test cases passed, it should return with 0. This patch fixes the issue of returning wrong value. Fixes: fc27caaafd4b ("kni: remove deprecated functions") Signed-off-by: Helin Zhang --- app/test/test_kni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_kni.c b/app/test/test_kni.c index 9dad988..9ef7bcd 100644 --- a/app/test/test_kni.c +++ b/app/test/test_kni.c @@ -625,7 +625,7 @@ test_kni(void) "a never used name string\n"); goto fail; } - + ret = 0; fail: rte_eth_dev_stop(port_id); -- 1.9.3