libvirt/tests/domainsnapshotxml2xmlin/disk_driver_name_null.xml
Peter Krempa 2cb2abc04d domainsnapshotxml2xmltest: Add test case for empty driver element
Commit 5a66c667ff fixed a NULL dereference
if the disk driver element was empty. Add a test for this case.
2013-12-05 09:41:30 +01:00

11 lines
212 B
XML

<domainsnapshot>
<name>asdf</name>
<description>adsf</description>
<disks>
<disk name='vda' snapshot='external'>
<source file='/tmp/foo'/>
<driver/>
</disk>
</disks>
</domainsnapshot>