[dpdk-dev] [PATCH] app/test: fix kni test always failed
Yong Liu
yong.liu at intel.com
Fri Nov 27 05:29:46 CET 2015
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
More information about the dev
mailing list