]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: test for more scenarios
authorEric Blake <eblake@redhat.com>
Fri, 4 Apr 2014 19:35:22 +0000 (13:35 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 8 Apr 2014 19:29:21 +0000 (13:29 -0600)
commitfcc7d0ed3a8e24d79b1f46872580cc2f97d01bdf
tree40ec83c1f7a1c7fb3e84166a86d066069a98f09a
parentaf095bfa0de52819eec15be734798ea11cac0411
conf: test for more scenarios

Part of the upcoming refactoring will change how broken chains
are detected; it makes sense to test that this works.  In
particular, test the just-fixed infinite loop detection bug.
Also, make sure that detection of directories is sane.

* tests/virstoragetest.c (testStorageChain): Enhance test.
(mymain): Add more tests.
(testCleanupImages, testPrepImages): Populate a directory.

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