[Libvirt-cim] [PATCH] [TEST] XFAIL VSSD/04_vssd_to_rasd.py because that libvirt allows the user to specify a mouse with "xen" bus type for LXC

Guo Lian Yun yunguol at cn.ibm.com
Tue Dec 2 02:29:26 UTC 2008


libvirt-cim-bounces at redhat.com wrote on 2008-12-02 02:45:46:

> > 
> > +libvirt_bug = "00009"
> >  sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
> > 
> >  test_dom    = "VSSDC_dom"
> > @@ -193,6 +194,8 @@
> >                  status = verify_displayrasd_values(rasd_instance,
> displayrasd)
> >              elif 'InputResourceAllocationSettingData' in CCName:
> >                  status = verify_inputrasd_values(rasd_instance, 
inputrasd)
> > +                if status != PASS and virt== 'LXC':
> > +                    return XFAIL_RC(libvirt_bug)
> 
> Instead of putting the XFAIL here, the check should go in 
> verify_inputrasd_values() - this way, none of the tests need to be 
updated.

  If XFAIL is put in verify_inputrasd_values(), we have to add another 
parameter of 'virt'
  to verify_inputrasd_values(), which more tests need to be updates.

  Thoughts?

> Kaitlin Rupert
> IBM Linux Technology Center
> kaitlin at linux.vnet.ibm.com
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20081202/cc912c55/attachment.htm>


More information about the Libvirt-cim mailing list