A recent code movement introduced a bug which reproduces only when there
are two disks on the same bus missing the target. Improve the test case
for the missing target test.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/qemuxml2argvdata/disk-missing-target-invalid.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/qemuxml2argvdata/disk-missing-target-invalid.xml
b/tests/qemuxml2argvdata/disk-missing-target-invalid.xml
index 49cd73142a..11287f2afb 100644
--- a/tests/qemuxml2argvdata/disk-missing-target-invalid.xml
+++ b/tests/qemuxml2argvdata/disk-missing-target-invalid.xml
@@ -17,6 +17,9 @@
<disk type='block' device='disk'>
<source dev='/dev/HostVG/QEMUGuest1'/>
</disk>
+ <disk type='block' device='disk'>
+ <source dev='/dev/HostVG/QEMUGuest2'/>
+ </disk>
<memballoon model='virtio'/>
</devices>
</domain>
--
2.31.1