[libvirt] [PATCH 04/23] Fix 3 broken test cases which were mistakenly raising errors

Eric Blake eblake at redhat.com
Fri Sep 14 15:49:29 UTC 2012


On 09/14/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Several test cases were mistakenly raising errors due to the
> QEMU_CAPS_KVM flag being missed.
> ---
>  tests/qemuxml2argvtest.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 

> +++ b/tests/qemuxml2argvtest.c
> @@ -342,7 +342,7 @@ mymain(void)
>      DO_TEST("minimal", QEMU_CAPS_NAME);
>      DO_TEST("minimal-s390", QEMU_CAPS_NAME);
>      DO_TEST("machine-aliases1", NONE);
> -    DO_TEST_ERROR("machine-aliases2", NONE);
> +    DO_TEST("machine-aliases2", QEMU_CAPS_KVM);

Should we keep both runs, to prove that the capability makes the
difference?  That is, add a new line, rather than replacing an existing
line.

-- 
Eric Blake   eblake at 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: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120914/d5ee14a0/attachment-0001.sig>


More information about the libvir-list mailing list