From: Helin Zhang Date: Thu, 3 Dec 2015 03:22:59 +0000 (+0800) Subject: app/test: fix kni success code X-Git-Tag: spdx-start~7846 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=962973095c43e900db886a7e66ee9a642bcfe2f4;p=dpdk.git app/test: fix kni success code 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: Marvin Liu Signed-off-by: Helin Zhang --- diff --git a/app/test/test_kni.c b/app/test/test_kni.c index 9dad988988..9ef7bcd2a5 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);