test/kvargs: fix invalid cases check
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 27 Mar 2020 08:09:54 +0000 (09:09 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 27 Mar 2020 16:03:43 +0000 (17:03 +0100)
commit4bf2b36fd14da74f5dd5c111501698a5b7cb0f6d
tree02b4de6c83fd57b38e3829624eab15e3431d4f02
parent55fa01f7edfc9d2fa5af57ffb8991750fbdb1528
test/kvargs: fix invalid cases check

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>
Reviewed-by: David Marchand <david.marchand@redhat.com>
app/test/test_kvargs.c