From: Olivier Matz Date: Wed, 25 Mar 2020 16:17:41 +0000 (+0100) Subject: tests/kvargs: fix check of invalid cases X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=cd9fa688ee1c1a6d29ea36420a6c39a98e6ae59c 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 --- diff --git a/app/test/test_kvargs.c b/app/test/test_kvargs.c index d3db88a57a..f823b771fb 100644 --- a/app/test/test_kvargs.c +++ b/app/test/test_kvargs.c @@ -230,8 +230,8 @@ static int test_invalid_kvargs(void) rte_kvargs_free(kvlist); goto fail; } - return 0; } + return 0; fail: printf("while processing <%s>", *args);