# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213266000 -28800
# Node ID a69394e8052f65132dce5886e0a8670717133bf1
# Parent 254bc5464030a03b6f791fd49acd208f6ec1db23
[TEST] Update SettingsDefineCapabilities.03 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 254bc5464030 -r a69394e8052f
suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py
--- a/suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py Wed Jun 11
20:56:07 2008 +0800
+++ b/suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py Thu Jun 12
18:20:00 2008 +0800
@@ -35,14 +35,16 @@
from CimTest.Globals import do_main, platform_sup
from XenKvmLib.classes import get_typed_class
+platform_sup = ['Xen', 'KVM', 'XenFV', 'LXC']
+
expr_values = {
"invalid_instid_keyname" : { 'rc' : pywbem.CIM_ERR_FAILED,
- 'desc' : 'CIM_ERR_FAILED: Missing
InstanceID'},
+ 'desc' : 'Missing InstanceID'},
"invalid_instid_keyvalue" : { 'rc' : pywbem.CIM_ERR_FAILED,
- 'desc' : 'CIM_ERR_FAILED: Unable to
determine\
+ 'desc' : 'Unable to determine\
resource type' },
"invalid_ccname_keyname" : { 'rc' :
pywbem.CIM_ERR_INVALID_PARAMETER,
- 'desc' : 'CIM_ERR_INVALID_PARAMETER' }
+ 'desc' : 'One or more parameter values
passed to the method were invalid' }
}
def err_invalid_instid_keyname(virt, conn, field):