]> xenbits.xensource.com Git - libvirt.git/commit
tests: storage: Replace index testing in testStorageLookup
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jan 2021 14:15:02 +0000 (15:15 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Jan 2021 06:49:58 +0000 (07:49 +0100)
commitab82d41f41f8ea459135cee47022cee713b13d24
tree0b3f54a0f3e0e5685d09173b96a99ad64fce8fb4
parent8fd72501c80b9214f875f05c9dd60cfb6a8d2414
tests: storage: Replace index testing in testStorageLookup

Test the actual index in the returned virStorageSource rather than the
parsed one. Some tests need to be adapted as they were on failed lookup.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/virstoragetest.c