]> xenbits.xensource.com Git - libvirt.git/commit
tests: Add testing of backing store string parser
authorPeter Krempa <pkrempa@redhat.com>
Tue, 12 Jul 2016 15:04:16 +0000 (17:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Jul 2016 07:39:33 +0000 (09:39 +0200)
commit4e3dbfa2a5f049987d74bdf35f86226f739fcda6
tree407a3b83a880c0a12dd2a2c66961bc8ff0978db5
parentc934f1e0fdd84c78d3173e5a72a4facd106c0b40
tests: Add testing of backing store string parser

As we already test that the extraction of the backing store string works
well additional tests for the backing store string parser can be made
simpler.

Export virStorageSourceNewFromBackingAbsolute and use it to parse the
backing store strings, format them using virDomainDiskSourceFormat and
match them against expected XMLs.
src/libvirt_private.syms
src/util/virstoragefile.c
src/util/virstoragefile.h
tests/virstoragetest.c