test/mem: check external memory without IOVA table
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 21 Dec 2018 11:29:01 +0000 (11:29 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Dec 2018 14:27:43 +0000 (15:27 +0100)
commit483c40f5725ec6fda71b6048aa3e35f003da6040
treed6a4e1d4c7d9c4f8ee355bfd6489d2603dedb04d
parent6324cc5cf71cdb07b42bdf57531060958dc0cd75
test/mem: check external memory without IOVA table

Currently, only scenario with valid IOVA table is tested. Fix this
by also testing without IOVA table - in these cases, EAL should
always return RTE_BAD_IOVA for all memsegs, and contiguous memzone
allocation should fail.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
test/test/test_external_mem.c