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:
65d69b0
)
tests/kvargs: fix check of invalid cases
author
Olivier Matz
<olivier.matz@6wind.com>
Wed, 25 Mar 2020 16:17:41 +0000
(17:17 +0100)
committer
Olivier Matz
<olivier.matz@6wind.com>
Wed, 25 Mar 2020 16:32:20 +0000
(17:32 +0100)
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
patch
|
blob
|
history
diff --git
a/app/test/test_kvargs.c
b/app/test/test_kvargs.c
index d3db88a57a9ac6ab9c725e70d5c6e615ce91c551..f823b771fb5d40d3113703f962c5a5cb95080505 100644
(file)
--- 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);