On 12/04/2013 10:55 AM, Peter Krempa wrote:
Commit 5a66c667ff5cae61c2ad2e646c8eb3eedc67f925 fixed a NULL
dereference
if the disk driver element was empty. Add a test for this case.
---
tests/domainsnapshotxml2xmlin/disk_driver_name_null.xml | 10 ++++++++++
tests/domainsnapshotxml2xmlout/disk_driver_name_null.xml | 9 +++++++++
tests/domainsnapshotxml2xmltest.c | 1 +
3 files changed, 20 insertions(+)
create mode 100644 tests/domainsnapshotxml2xmlin/disk_driver_name_null.xml
create mode 100644 tests/domainsnapshotxml2xmlout/disk_driver_name_null.xml
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org