]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: drivermodule: Make sure that all compiled storage backends can be loaded
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Feb 2017 17:58:39 +0000 (18:58 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 22 Feb 2017 08:31:33 +0000 (09:31 +0100)
commit93a3f516ee5453f9fbea63a2e9d1495fc369d226
tree7960567f01ea80f2ccf1428ce98ac96575352e60
parent0a6d3e51b40cfd0628649f985975b0d2be00b8f7
tests: drivermodule: Make sure that all compiled storage backends can be loaded

Add a new storage driver registration function that will force the
backend code to fail if any of the storage backend modules can't be
loaded. This will make sure that they work and are present.
src/storage/storage_backend.c
src/storage/storage_backend.h
src/storage/storage_driver.c
src/storage/storage_driver.h
tests/virdrivermoduletest.c
tests/virstoragetest.c