git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ba92b
)
app/test: fix kni success code
author
Helin Zhang
<helin.zhang@intel.com>
Thu, 3 Dec 2015 03:22:59 +0000
(11:22 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 03:10:15 +0000
(
04:10
+0100)
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 <yong.liu@intel.com>
Signed-off-by: Helin Zhang <helin.zhang@intel.com>
app/test/test_kni.c
patch
|
blob
|
history
diff --git
a/app/test/test_kni.c
b/app/test/test_kni.c
index
9dad988
..
9ef7bcd
100644
(file)
--- 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);