[Libvirt-cim] [PATCH] [TEST] Update ElementConforms.01~04 for LXC support

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue May 27 21:28:50 UTC 2008


> diff -r 3233a0703772 -r 05a50a59c4e9 suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py
> --- a/suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py	Fri May 23 18:14:28 2008 +0800
> +++ b/suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py	Tue May 27 21:51:03 2008 +0800
> @@ -53,7 +53,7 @@
>  from XenKvmLib.classes import get_typed_class
>  from CimTest.ReturnCodes import PASS, FAIL
> 
> -sup_types = ['Xen', 'XenFV', 'KVM']
> +sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
> 
>  test_dom = "domgst"
> 

This test fails on LXC.

> diff -r 3233a0703772 -r 05a50a59c4e9 suites/libvirt-cim/cimtest/ElementConforms/03_ectp_fwd_errs.py
> --- a/suites/libvirt-cim/cimtest/ElementConforms/03_ectp_fwd_errs.py	Fri May 23 18:14:28 2008 +0800
> +++ b/suites/libvirt-cim/cimtest/ElementConforms/03_ectp_fwd_errs.py	Tue May 27 21:51:03 2008 +0800
> @@ -60,7 +60,7 @@
>  from CimTest import Globals
>  from CimTest.Globals import logger, CIM_USER, CIM_PASS, do_main
> 
> -sup_types = ['Xen', 'XenFV', 'KVM']
> +sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
> 
>  bug          = '92642'
> 
> diff -r 3233a0703772 -r 05a50a59c4e9 suites/libvirt-cim/cimtest/ElementConforms/04_ectp_rev_errs.py
> --- a/suites/libvirt-cim/cimtest/ElementConforms/04_ectp_rev_errs.py	Fri May 23 18:14:28 2008 +0800
> +++ b/suites/libvirt-cim/cimtest/ElementConforms/04_ectp_rev_errs.py	Tue May 27 21:51:03 2008 +0800
> @@ -89,7 +89,7 @@
>  from CimTest.ReturnCodes import PASS, FAIL
>  from CimTest.Globals import logger, CIM_USER, CIM_PASS, CIM_NS, do_main
> 
> -sup_types = ['Xen', 'XenFV', 'KVM']
> +sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
> 
>  bug          = '92642'
>  test_dom = "domU"

Looks like I missed these 2 tests in my bug patch. Can you assign a bug 
number on the wiki and then update these tests with that bug number?

Thanks!

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list