[libvirt] [PATCH v2 07/10] tests: qemuxml2xml: Remove fake status XML testing

Jiri Denemark jdenemar at redhat.com
Tue Mar 13 12:31:50 UTC 2018


On Wed, Mar 07, 2018 at 15:42:33 +0100, Peter Krempa wrote:
> Now that the better approach is in place we can remove the old functions
> doing the fake formatting.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  tests/qemuxml2xmltest.c | 218 +-----------------------------------------------
>  1 file changed, 1 insertion(+), 217 deletions(-)
> 
> diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
> index 2c1fa58bce..e855d4feca 100644
> --- a/tests/qemuxml2xmltest.c
> +++ b/tests/qemuxml2xmltest.c
...
> @@ -472,10 +260,6 @@ mymain(void)
>              if (virTestRun("QEMU XML-2-XML-active " name, \
>                              testXML2XMLActive, &info) < 0) \
>                  ret = -1; \
> - \
> -            if (virTestRun("QEMU XML-2-XML-status (old)" name, \
> -                            testCompareStatusXMLToXMLOldFiles, &info) < 0) \

OK, don't bother fixing the indentation here in the previous patch.

> -                ret = -1; \
>          } \
>          testInfoClear(&info); \
>      } while (0)

ACK

Jirka




More information about the libvir-list mailing list