tests/kvargs: fix check of invalid cases
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 25 Mar 2020 16:17:41 +0000 (17:17 +0100)
committerOlivier Matz <olivier.matz@6wind.com>
Wed, 25 Mar 2020 16:32:20 +0000 (17:32 +0100)
commitcd9fa688ee1c1a6d29ea36420a6c39a98e6ae59c
tree6078d9de3210a4a153e69bd49f0a7ec154600ff2
parent65d69b07e3d38884cab4fcad86430fe50a6a96be
tests/kvargs: fix check of invalid cases

The return was not properly placed, and only the first test case
was validated.

Fixes: e495f5435524 ("kvargs: add test case in app/test")
Cc: stable@dpdk.org
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_kvargs.c