[libvirt] [PATCH 5/5] domainsnapshotxml2xmltest: Add test case for empty driver element

Eric Blake eblake at redhat.com
Wed Dec 4 18:21:41 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131204/5f398891/attachment-0001.sig>


More information about the libvir-list mailing list