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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux