On Tue, Jan 23, 2018 at 07:05:16PM +0100, Martin Kletzander wrote:
This test initializes capabilities from vircaps2xmldata (since it
exists there
already) and then requests list of free bitmaps (all unallocated space) from
virresctrl.c
Desirable outputs are saved in virresctrldata.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
tests/Makefile.am | 9 +-
tests/virresctrldata/resctrl-cdp.schemata | 2 +
.../virresctrldata/resctrl-skx-twocaches.schemata | 1 +
tests/virresctrldata/resctrl-skx.schemata | 1 +
tests/virresctrldata/resctrl.schemata | 1 +
tests/virresctrltest.c | 102 +++++++++++++++++++++
6 files changed, 115 insertions(+), 1 deletion(-)
create mode 100644 tests/virresctrldata/resctrl-cdp.schemata
create mode 100644 tests/virresctrldata/resctrl-skx-twocaches.schemata
create mode 100644 tests/virresctrldata/resctrl-skx.schemata
create mode 100644 tests/virresctrldata/resctrl.schemata
create mode 100644 tests/virresctrltest.c
The output data will need to be modified if we change the behavior of
what we consider as free cache.
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>