]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test: storage: Initialize storage source to correct type
authorPeter Krempa <pkrempa@redhat.com>
Fri, 25 Apr 2014 19:44:06 +0000 (21:44 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Jun 2014 07:27:23 +0000 (09:27 +0200)
commit29aabe73feea86d43eb7e91218411a80a9367ef5
tree5e3d32627a5b813e8ca6dfd9f4bddab6c7790f82
parentd4c0ceae1b5dd97664b1a0b893edbce23db9022a
test: storage: Initialize storage source to correct type

Stat the path of the storage file being tested to set the correct type
into the virStorageSource. This will avoid breaking the test suite when
inquiring metadata of directory paths in the next patches.
tests/virstoragetest.c