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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/14/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]