]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: storage: Fully register storage driver
authorPeter Krempa <pkrempa@redhat.com>
Thu, 11 May 2017 14:50:04 +0000 (16:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 11 Jul 2017 15:07:04 +0000 (17:07 +0200)
commit2117d42c7ca984e381fc362c46cf3275c4d0f7c6
treee06e0e5479804edd78270ae7f22bcb08a5f56811
parentb9473d8b11d79c8990dcbba13bbf7d4051288a1e
tests: storage: Fully register storage driver

Use the full storage driver registration method that also fails if one
of the storage backends is not present. This makes the test fail if a
submodule fails registration, which is useful for testing.

Additionally return EXIT_FAILURE as usual in tests rather than -1.
tests/virstoragetest.c