[libvirt] [PATCH 1/4] Use separate macros for failure/success in vol-to-argv test

Eric Blake eblake at redhat.com
Wed Jul 24 22:29:39 UTC 2013


On 07/22/2013 08:52 AM, Ján Tomko wrote:
> Reindent them to put the input volume on a separate line.
> ---
>  tests/storagevolxml2argvtest.c | 64 +++++++++++++++++++++++++++++-------------
>  1 file changed, 44 insertions(+), 20 deletions(-)
> 
> diff --git a/tests/storagevolxml2argvtest.c b/tests/storagevolxml2argvtest.c
> index 89c233f..4f4bf7d 100644
> --- a/tests/storagevolxml2argvtest.c
> +++ b/tests/storagevolxml2argvtest.c
> @@ -161,7 +161,8 @@ mymain(void)
>      int ret = 0;
>      unsigned int flags = VIR_STORAGE_VOL_CREATE_PREALLOC_METADATA;
>  
> -#define DO_TEST(shouldFail, pool, vol, inputvol, cmdline, flags, imgformat) \
> +#define DO_TEST_FULL(shouldFail, pool, vol, inputvol, cmdline, flags, \
> +                     imgformat) \

Is it worth lining up the \ to a single column?  But that's cosmetic, I
don't care if you do that or not.

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list