[libvirt] [PATCH 10/10] tests: Clean up and modify some vircaps2xmldata

Pavel Hrdina phrdina at redhat.com
Wed Jan 24 14:20:38 UTC 2018


On Tue, Jan 23, 2018 at 07:05:19PM +0100, Martin Kletzander wrote:
> Basically the `cpus` and `tasks` files are not needed, and I've witnessed on a
> real system that the schemata file may have spaces prepended to a line, so let's
> adjust at least one test so that it reflects what can happen.  Also `000`
> allocation is invalid and a full mask means it's all free.  So adjust for that
> too.
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  tests/vircaps2xmldata/linux-resctrl-cdp/resctrl/cpus               | 1 -
>  tests/vircaps2xmldata/linux-resctrl-cdp/resctrl/tasks              | 0
>  tests/vircaps2xmldata/linux-resctrl-skx-twocaches/resctrl/schemata | 2 +-
>  tests/vircaps2xmldata/linux-resctrl/resctrl/cpus                   | 1 -
>  tests/vircaps2xmldata/linux-resctrl/resctrl/schemata               | 2 +-
>  tests/vircaps2xmldata/linux-resctrl/resctrl/tasks                  | 0
>  6 files changed, 2 insertions(+), 4 deletions(-)
>  delete mode 100644 tests/vircaps2xmldata/linux-resctrl-cdp/resctrl/cpus
>  delete mode 100644 tests/vircaps2xmldata/linux-resctrl-cdp/resctrl/tasks
>  delete mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/cpus
>  delete mode 100644 tests/vircaps2xmldata/linux-resctrl/resctrl/tasks

This will also need some modifications if we change how we handle the
"full" allocation.

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180124/16b5216b/attachment-0001.sig>


More information about the libvir-list mailing list