test: clean up on exit
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 31 May 2018 16:14:02 +0000 (17:14 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Oct 2018 02:32:58 +0000 (03:32 +0100)
commit3f9e31d71d631fb44a209722afc5a8216b09403d
tree4d1fea34c36b0c8e9af9044b4aa1f790d2edf24d
parent3bb038388962d7243277eb190dfdbc044087c6b3
test: clean up on exit

The test application didn't call rte_eal_cleanup() on exit, which
caused leftover hugepages and memory leaks when running secondary
processes. Fix this by calling rte_eal_cleanup() on exit.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Reshma Pattan <reshma.pattan@intel.com>
Tested-by: Reshma Pattan <reshma.pattan@intel.com>
test/test/test.c