[libvirt] [PATCH 4/4] qemu: block: add unit test of storing the delete flag in status XML

Pavel Mores pmores at redhat.com
Wed Nov 20 09:55:27 UTC 2019


The new element was only added to the active commit test, the non-active
commit test doesn't have the new element so as to test its absence.

Signed-off-by: Pavel Mores <pmores at redhat.com>
---
 tests/qemustatusxml2xmldata/blockjob-blockdev-in.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/qemustatusxml2xmldata/blockjob-blockdev-in.xml b/tests/qemustatusxml2xmldata/blockjob-blockdev-in.xml
index 4f6930001e..5fd2ed1d78 100644
--- a/tests/qemustatusxml2xmldata/blockjob-blockdev-in.xml
+++ b/tests/qemustatusxml2xmldata/blockjob-blockdev-in.xml
@@ -242,6 +242,7 @@
       <disk dst='vde'/>
       <base node='libvirt-19-format'/>
       <top node='libvirt-17-format'/>
+      <deleteCommittedImages/>
     </blockjob>
     <blockjob name='create-libvirt-1337-storage' type='create' state='running'>
       <create mode='storage'/>
-- 
2.21.0




More information about the libvir-list mailing list