[libvirt] [PATCH 3/4] storage: better tests of lookup

Peter Krempa pkrempa at redhat.com
Mon Jun 16 07:46:12 UTC 2014


On 06/13/14 18:31, Eric Blake wrote:
> Add some more tests of what happens when we restrict a lookup
> to begin at a point in the middle of a chain.  In particular,
> we want to ensure that a parent is not found when starting at
> the child.  This commit also demonstrates that we have a slight
> difference in behavior on what parent we report when filtering
> is in effect; as the determination of the parent affects the
> code in block commit, exposing this in the testsuite will help
> justify changes in future patches that tweak the semantics of
> what lookups are allowed.
> 
> * tests/virstoragetest.c (testStorageLookup): Test user input.
> (TEST_LOOKUP_TARGET): Add parameter.
> (mymain): Add lookup tests.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  tests/virstoragetest.c | 74 ++++++++++++++++++++++++++++++++++++++++++++------
>  1 file changed, 65 insertions(+), 9 deletions(-)
> 

ACK,

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140616/ecf4a7d5/attachment-0001.sig>


More information about the libvir-list mailing list