[Libvirt-cim] [PATCH] [TEST] #2 Fix ElementConforms/02_reverse.py with sblim-cmpi-base provider installed

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Dec 3 16:54:54 UTC 2008


yunguol at cn.ibm.com wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1228270172 28800
> # Node ID 41662c73adfc88608ba4a9c1a84b2e4e448f7f0c
> # Parent  70ecd9e8867cc277b31f4703e73b5dba7ad53128
> [TEST] #2 Fix ElementConforms/02_reverse.py with sblim-cmpi-base provider installed
> 
> Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
> 
> diff -r 70ecd9e8867c -r 41662c73adfc suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py
> --- a/suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py	Mon Dec 01 22:15:38 2008 -0800
> +++ b/suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py	Tue Dec 02 18:09:32 2008 -0800
> @@ -49,7 +49,7 @@
>  from XenKvmLib import enumclass
>  from XenKvmLib.vxml import XenXML, KVMXML, get_class
>  from XenKvmLib.classes import get_typed_class
> -from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC
> +from CimTest.ReturnCodes import PASS, FAIL
>  from XenKvmLib.common_util import libvirt_cached_data_poll, get_cs_instance, \
>                                    get_host_info

You'll need to remove lines 153 - 155:

if cn == 'Linux_ComputerSystem':
    status = XFAIL_RC(bug_sblim)
else:

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




More information about the Libvirt-cim mailing list