[libvirt] [PATCH v2 09/25] tests: genericxml2xml: Add testing of backup XML files

Daniel P. Berrangé berrange at redhat.com
Wed Dec 4 10:57:15 UTC 2019


On Tue, Dec 03, 2019 at 06:17:31PM +0100, Peter Krempa wrote:
> Now that the parser and formatter are in place we can excercise it on
> the test files.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  tests/Makefile.am                             |  1 +
>  .../backup-pull-seclabel.xml                  | 18 ++++++++
>  tests/domainbackupxml2xmlout/backup-pull.xml  | 10 ++++
>  .../backup-push-seclabel.xml                  | 17 +++++++
>  tests/domainbackupxml2xmlout/backup-push.xml  | 10 ++++
>  tests/domainbackupxml2xmlout/empty.xml        |  1 +
>  tests/genericxml2xmltest.c                    | 46 +++++++++++++++++++
>  tests/virschematest.c                         |  3 +-
>  8 files changed, 105 insertions(+), 1 deletion(-)
>  create mode 100644 tests/domainbackupxml2xmlout/backup-pull-seclabel.xml
>  create mode 100644 tests/domainbackupxml2xmlout/backup-pull.xml
>  create mode 100644 tests/domainbackupxml2xmlout/backup-push-seclabel.xml
>  create mode 100644 tests/domainbackupxml2xmlout/backup-push.xml
>  create mode 100644 tests/domainbackupxml2xmlout/empty.xml

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list