]> xenbits.xensource.com Git - libvirt.git/commit
backupxml2xmltest: Call 'virDomainBackupAlignDisks' before formatting output
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Jul 2020 14:38:00 +0000 (16:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 8 Jul 2020 06:40:30 +0000 (08:40 +0200)
commit6f33e441e236dd738fd7776bf062cc546835226c
treeee73a261133c3c8d035a85951ce3f457518d02f5
parent1a7ce56ae12c71f4a28fb9578240630dc9afee49
backupxml2xmltest: Call 'virDomainBackupAlignDisks' before formatting output

Call the post-processing function so that we can validate that it does
the correct thing.

virDomainBackupAlignDisks requires disk definitions to be present so
let's fake them by copying disks from the backup definition and add one
extra disk 'vdextradisk'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/domainbackupxml2xmlout/backup-pull-encrypted.xml
tests/domainbackupxml2xmlout/backup-pull-internal-invalid.xml
tests/domainbackupxml2xmlout/backup-pull-seclabel.xml
tests/domainbackupxml2xmlout/backup-pull.xml
tests/domainbackupxml2xmlout/backup-push-encrypted.xml
tests/domainbackupxml2xmlout/backup-push-seclabel.xml
tests/domainbackupxml2xmlout/backup-push.xml
tests/domainbackupxml2xmlout/empty.xml
tests/genericxml2xmltest.c