test/bpf: fix few small issues
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Wed, 27 May 2020 14:16:49 +0000 (15:16 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Jun 2020 15:50:36 +0000 (17:50 +0200)
commit83633ba230761647b5014301c1f98b670d03e375
tree1aca5d3010e1a84dbd44134cbf298cf4a0b77542
parentc91717eb75c8595e84fb9dfa8424b7b2ccee5e16
test/bpf: fix few small issues

Address for few small issues:
 - unreachable return statement
 - failed test-case can finish with 'success' status

Also use unified cmp_res() function to check return value.

Cc: stable@dpdk.org
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
app/test/test_bpf.c