summaryrefslogtreecommitdiff
path: root/tests/domainbackupxml2xmlout/backup-pull-encrypted.xml
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2020-07-07 16:38:00 +0200
committerPeter Krempa <pkrempa@redhat.com>2020-07-08 08:40:30 +0200
commit6f33e441e236dd738fd7776bf062cc546835226c (patch)
treeee73a261133c3c8d035a85951ce3f457518d02f5 /tests/domainbackupxml2xmlout/backup-pull-encrypted.xml
parent1a7ce56ae12c71f4a28fb9578240630dc9afee49 (diff)
downloadlibvirt-6f33e441e236dd738fd7776bf062cc546835226c.tar.gz
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>
Diffstat (limited to 'tests/domainbackupxml2xmlout/backup-pull-encrypted.xml')
-rw-r--r--tests/domainbackupxml2xmlout/backup-pull-encrypted.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/domainbackupxml2xmlout/backup-pull-encrypted.xml b/tests/domainbackupxml2xmlout/backup-pull-encrypted.xml
index ea9dcf72b9..3c3042111d 100644
--- a/tests/domainbackupxml2xmlout/backup-pull-encrypted.xml
+++ b/tests/domainbackupxml2xmlout/backup-pull-encrypted.xml
@@ -26,5 +26,6 @@
</encryption>
</scratch>
</disk>
+ <disk name='vdextradisk' backup='no'/>
</disks>
</domainbackup>