[libvirt] [PATCH 10/23] Don't print all test suite errors to stderr in vmx2xmltest

Eric Blake eblake at redhat.com
Wed Sep 25 15:55:31 UTC 2013


On 09/25/2013 08:51 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The vmx2xmltest test would print all errors to stderr, which
> is not helpful when running OOM tests, and differs from the
> behaviour of other tests.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  tests/vmx2xmltest.c | 51 +++++++++++++++++++--------------------------------
>  1 file changed, 19 insertions(+), 32 deletions(-)
> 
> @@ -203,7 +190,7 @@ mymain(void)
>              virResetLastError();                                              \
>              if (virtTestRun("VMware VMX-2-XML "_in" -> "_out, 1,              \
>                              testCompareHelper, &info) < 0) {                  \
> -                result = -1;                                                  \
> +                ret = -1;                                                  \
>              }                                                                 \

Indentation of \ is now off.

ACK to 6-10

-- 
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/20130925/6e49c9ce/attachment-0001.sig>


More information about the libvir-list mailing list