# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1212158731 -28800
# Node ID 13025733f68b242a210128ca3c4d4a740b75c0eb
# Parent 3ac66cf562f082546883c1de0d748471b557cd39
[TEST] Update HostSystem.01&05 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3ac66cf562f0 -r 13025733f68b suites/libvirt-cim/cimtest/HostSystem/01_enum.py
--- a/suites/libvirt-cim/cimtest/HostSystem/01_enum.py Fri May 30 00:24:45 2008 +0800
+++ b/suites/libvirt-cim/cimtest/HostSystem/01_enum.py Fri May 30 22:45:31 2008 +0800
@@ -35,7 +35,7 @@
from CimTest.Globals import logger
from CimTest.ReturnCodes import PASS, FAIL
-SUPPORTED_TYPES = ['Xen', 'KVM', 'XenFV']
+SUPPORTED_TYPES = ['Xen', 'KVM', 'XenFV', 'LXC']
@do_main(SUPPORTED_TYPES)
def main():
diff -r 3ac66cf562f0 -r 13025733f68b
suites/libvirt-cim/cimtest/HostSystem/05_hs_gi_errs.py
--- a/suites/libvirt-cim/cimtest/HostSystem/05_hs_gi_errs.py Fri May 30 00:24:45 2008
+0800
+++ b/suites/libvirt-cim/cimtest/HostSystem/05_hs_gi_errs.py Fri May 30 22:45:31 2008
+0800
@@ -81,7 +81,7 @@
from CimTest.ReturnCodes import PASS, FAIL
from CimTest.Globals import logger, CIM_USER, CIM_PASS, CIM_NS, do_main
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
expr_values = {
"invalid_ccname" : {'rc' : pywbem.CIM_ERR_NOT_FOUND, \