]> xenbits.xensource.com Git - libvirt.git/commit
conf: another refactor of virstoragetest
authorEric Blake <eblake@redhat.com>
Sat, 5 Apr 2014 18:00:48 +0000 (12:00 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 8 Apr 2014 19:32:55 +0000 (13:32 -0600)
commitd1e55de3438aca64788b8ef958a21937b2d8adfa
treef57bc0bce11783b59a98b5a8780e99a2fe0931d3
parent3486133356da762e45f8ef2d2bb19031dc4451f9
conf: another refactor of virstoragetest

Another reduction in the number of structs I have to modify
when I start tracking new fields in virStorageFileMetadata.

* tests/virstoragetest.c (_testFileData): Add fields.
(testStorageChain): Select between fields based on flag.
(mymain): Record both absolute and relative expectations in one
struct.

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