tools/tests: Introduce a test for acquire_resource
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 23 Jul 2020 16:26:16 +0000 (17:26 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 4 Feb 2021 22:03:33 +0000 (22:03 +0000)
commitff522e2e9163b27fe4d80ba55c18408f9b1f1cb7
treef26c6e21c3127410ac5f5712aad84b7dee750768
parentdef12125357ed2efd6d581d9033afcc9d66daa8a
tools/tests: Introduce a test for acquire_resource

For now, simply try to map 40 frames of grant table.  This catches most of the
basic errors with resource sizes found and fixed through the 4.15 dev window.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
tools/tests/Makefile
tools/tests/resource/.gitignore [new file with mode: 0644]
tools/tests/resource/Makefile [new file with mode: 0644]
tools/tests/resource/test-resource.c [new file with mode: 0644]