app/test: fix kni success code
authorHelin Zhang <helin.zhang@intel.com>
Thu, 3 Dec 2015 03:22:59 +0000 (11:22 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 03:10:15 +0000 (04:10 +0100)
commit962973095c43e900db886a7e66ee9a642bcfe2f4
tree6d661d3cf2cd6c9b081bc13ec3c6985fe49414ec
parent02ba92b02c8e0b9d80b0e938da7cde5bc53ac542
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 <yong.liu@intel.com>
Signed-off-by: Helin Zhang <helin.zhang@intel.com>
app/test/test_kni.c