]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domainsnapshotxml2xmltest: Add test case for empty driver element
authorPeter Krempa <pkrempa@redhat.com>
Tue, 3 Dec 2013 11:04:43 +0000 (12:04 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 5 Dec 2013 08:41:30 +0000 (09:41 +0100)
commit2cb2abc04d08c90e826b8341cca91e7c886f6188
treed53060020cd6204dfedbbe06236316a174e72127
parenta686115cba0f9ed3a686fb28d6faa4bcea618f8e
domainsnapshotxml2xmltest: Add test case for empty driver element

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 [new file with mode: 0644]
tests/domainsnapshotxml2xmlout/disk_driver_name_null.xml [new file with mode: 0644]
tests/domainsnapshotxml2xmltest.c