[libvirt] [PATCH 3/7] tests: qemuxml2xml: Add proper domain status XML testing
John Ferlan
jferlan at redhat.com
Tue Mar 6 13:49:52 UTC 2018
On 03/02/2018 11:56 AM, Peter Krempa wrote:
> Add new approach to properly test status XML files by supplying a full
> XML file rather than generating synthetic test cases by prepending the
> status header. The two tests introduced here are copies of existing
> cases using the synthetic header so that current level of testing is
> kept. The files are chosen to excercise the vcpu and blockjob quirks
exercising
John
> present in the current testing.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> tests/Makefile.am | 1 +
> tests/qemustatusxml2xmldata/blockjob-mirror-in.xml | 96 ++++++
> .../qemustatusxml2xmldata/blockjob-mirror-out.xml | 96 ++++++
> tests/qemustatusxml2xmldata/vcpus-multi-in.xml | 343 +++++++++++++++++++++
> tests/qemustatusxml2xmldata/vcpus-multi-out.xml | 343 +++++++++++++++++++++
> tests/qemuxml2xmltest.c | 109 ++++++-
> 6 files changed, 981 insertions(+), 7 deletions(-)
> create mode 100644 tests/qemustatusxml2xmldata/blockjob-mirror-in.xml
> create mode 100644 tests/qemustatusxml2xmldata/blockjob-mirror-out.xml
> create mode 100644 tests/qemustatusxml2xmldata/vcpus-multi-in.xml
> create mode 100644 tests/qemustatusxml2xmldata/vcpus-multi-out.xml
>
[...]
More information about the libvir-list
mailing list