Re: [libvirt] [PATCH 5/5] conf: another refactor of virstoragetest

2014-04-08 Thread Eric Blake
On 04/07/2014 03:18 AM, Peter Krempa wrote: > On 04/06/14 05:32, Eric Blake wrote: >> 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

Re: [libvirt] [PATCH 5/5] conf: another refactor of virstoragetest

2014-04-07 Thread Peter Krempa
On 04/06/14 05:32, Eric Blake wrote: > 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 b

[libvirt] [PATCH 5/5] conf: another refactor of virstoragetest

2014-04-05 Thread Eric Blake
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 str