6c30e783c1
Moved them from test/env/vtophys to test/env/memory because that's where they should land in the first place. Our memory ut already test allocating a mem_map, so just extend them with an extra test case now. Since we're a unit test rather than a fully-fledged SPDK app, we can simplify the code a lot now - we no longer have any memory (hugepages) registered at the beginning of our test case, hence we no longer need to alloc multiple dummy mem maps to iterate through all registrations - we can simply hardcode and predict which registrations are there. Change-Id: I82cd00ea2ad2370bdc63846874885f8c55e11d53 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/428714 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
vtophys.c |