# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1209517323 25200
# Node ID cced18eccc5a4fde264f973d14dce154b6a750da
# Parent b3969776fb077e2575effe7cd3c914778d86b63c
[TEST] modified the revision number to 417 and resent the patch of VSSDC.03
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b3969776fb07 -r cced18eccc5a
suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/03_vssdc_fwd_errs.py
---
a/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/03_vssdc_fwd_errs.py Tue
Apr 29 01:44:18 2008 -0700
+++
b/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/03_vssdc_fwd_errs.py Tue
Apr 29 18:02:03 2008 -0700
@@ -62,12 +62,14 @@ from CimTest.ReturnCodes import PASS, FA
from CimTest.ReturnCodes import PASS, FAIL
from CimTest.Globals import do_main, logger
from CimTest.Globals import CIM_USER, CIM_PASS, CIM_NS
+from XenKvmLib.const import CIM_REV
sup_types = ['Xen', 'XenFV', 'KVM']
test_dom = "domu1"
test_mac = "00:11:22:33:44:aa"
test_vcpus = 1
+rev = 417
expr_values = {
"INVALID_InstID_Keyname" : { 'rc' : pywbem.CIM_ERR_FAILED, \
@@ -75,6 +77,10 @@ expr_values = {
"INVALID_InstID_Keyval" : { 'rc' : pywbem.CIM_ERR_NOT_FOUND,
\
'desc' : 'No such instance
(INVALID_InstID_Keyval)'}
}
+
+if CIM_REV < rev:
+ expr_values['INVALID_InstID_Keyval'] = {'rc' : pywbem.CIM_ERR_FAILED,
\
+ 'desc' : 'Invalid
InstanceID'}
def try_invalid_assoc(classname, name_val, i, field, virt="Xen"):
ac_classname = get_typed_class(virt, "VirtualSystemSettingDataComponent")
Show replies by date