From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yong Liu Subject: [PATCH] app/test: fix kni test always failed Date: Fri, 27 Nov 2015 12:29:46 +0800 Message-ID: <1448598586-8462-1-git-send-email-yong.liu@intel.com> To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 77AD35A08 for ; Fri, 27 Nov 2015 05:29:53 +0100 (CET) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" After all test functions called, return value should be reset to sucessful. Signed-off-by: Marvin Liu diff --git a/app/test/test_kni.c b/app/test/test_kni.c index 9dad988..329acb2 100644 --- a/app/test/test_kni.c +++ b/app/test/test_kni.c @@ -626,6 +626,7 @@ test_kni(void) goto fail; } + ret = 0; fail: rte_eth_dev_stop(port_id); -- 1.9.3