]> xenbits.xensource.com Git - libvirt.git/commit
conf: test backing chain lookup
authorEric Blake <eblake@redhat.com>
Thu, 10 Apr 2014 19:56:57 +0000 (13:56 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 12 Apr 2014 01:49:52 +0000 (19:49 -0600)
commit367cd69d0d42987e52f74b8a14b8c31984995934
tree2157b508becbf440715c5885c4eb61a6fdca5abb
parentec70f3696f2eb0012f0cb693dd8c1a569d118240
conf: test backing chain lookup

I realized that we had no good test coverage of looking up a
name from within a backing chain, even though code like
block-commit is relying on it.

* tests/virstoragetest.c (testStorageLookup): New function.
(mymain): New tests.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/virstoragetest.c