After all test functions called, return value should be reset to sucessful.

Signed-off-by: Marvin Liu <yong.liu at intel.com>

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

Reply via email to