Hi Kaitlin,
Would you please review this patch?
Thanks!
Best,
Regards
Daisy (Ô˹úÁ«)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol@cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
libvirt-cim-bounces@redhat.com wrote on 2008-11-27
11:23:57:
> # HG changeset patch
> # User Guolian Yun <yunguol@cn.ibm.com>
> # Date 1227756196 28800
> # Node ID 11b47a83ffbdeb4ad8e505d3416a04264cc30372
> # Parent 8807a94aa58a411d8596e717674c91c937881247
> [TEST] Fix HostSystem/02_hostsystem_to_rasd.py for LXC
>
> Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
>
> diff -r 8807a94aa58a -r 11b47a83ffbd suites/libvirt-
> cim/cimtest/HostSystem/02_hostsystem_to_rasd.py
> --- a/suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py
> Mon Nov 24 22:08:51 2008 -0800
> +++ b/suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py
> Wed Nov 26 19:23:16 2008 -0800
> @@ -55,11 +55,12 @@
> from XenKvmLib.common_util import get_host_info
> from CimTest.Globals import logger, CIM_ERROR_ASSOCIATORNAMES,
\
> CIM_ERROR_ASSOCIATORS
> -from CimTest.ReturnCodes import PASS, FAIL
> +from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC
> from XenKvmLib.rasd import verify_procrasd_values, verify_netrasd_values,
\
> verify_diskrasd_values, verify_memrasd_values, verify_displayrasd_values,
\
> rasd_init_list, verify_inputrasd_values
>
> +libvirt_bug = "00009"
> sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
>
> test_dom = "CrossClass_GuestDom"
> @@ -182,6 +183,8 @@
> status
= verify_displayrasd_values(assoc_info[index], rasd)
> elif 'InputResourceAllocationSettingData'
in CCName:
> status
= verify_inputrasd_values(assoc_info[index], rasd)
> + if status
!= PASS and virt == 'LXC':
> + return
XFAIL_RC(libvirt_bug)
> else:
> status
= FAIL
> if status != PASS:
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim