test/eal: add cases for in-memory and single-file-segments
authorPallantla Poornima <pallantlax.poornima@intel.com>
Wed, 3 Jul 2019 07:13:30 +0000 (08:13 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 4 Jul 2019 21:44:58 +0000 (23:44 +0200)
commit690fd3577e909943e57c62c3318226601defa167
treef4e531491b017af4cbc556e21e9f4a09ab24e0ba
parentc6ad35c468451466720009b374c9b19c43b9f7ae
test/eal: add cases for in-memory and single-file-segments

Added unit test case for eal command line '--in-memory' option
which will cover below functions.
get_seg_memfd()
test_memfd_create()
pagesz_flags()

Added unit test case for eal command line '--single-file-segments' option
which will cover resize_hugefile().

Signed-off-by: Pallantla Poornima <pallantlax.poornima@intel.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
app/test/test_eal_flags.c