test/mbuf: remove global mempool
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>
Mon, 26 Jun 2017 10:04:54 +0000 (10:04 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 27 Jun 2017 16:27:25 +0000 (18:27 +0200)
commitc1923afc0999b5b6f109190bc5b69b6c3d334635
tree8069ae9c5201e813db02a45963eda5ed3ef4abe9
parentd32309fd27ff1e1f8b5edf435684292a23603211
test/mbuf: remove global mempool

Currently, pool resources are allocated statically
and are not freed. Results of that test can not run more than once.

Fix removes static dependency from test application and
now allocating and freeing resources dynamically.
Test runs for more than once.

Fixes: af75078fece3 ("first public release")

Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
test/test/test_mbuf.c