dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] app/test: fix kni test always failed
@ 2015-11-27  4:29 Yong Liu
  0 siblings, 0 replies; only message in thread
From: Yong Liu @ 2015-11-27  4:29 UTC (permalink / raw)
  To: dev

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

Signed-off-by: Marvin Liu <yong.liu@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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-27  4:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27  4:29 [PATCH] app/test: fix kni test always failed Yong Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).