• E
    conf: interleave virstoragetest structs · 34861333
    Eric Blake 提交于
    As I add more tests, it's getting harder to follow the split between
    a struct in one place and a test using the struct in another.
    Interleaving the tests makes changes more localized, and also makes
    debugging easier when a test goes wrong during my refactoring work.
    
    * tests/virstoragetest.c (mymain): Modify structs as we go, rather
    than up-front.
    (testStorageChain): Make failure debugging easier.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    34861333
virstoragetest.c 23.9 KB