# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1207879260 25200
# Node ID 248707005ae8efa00fc106f3ad8da02add06b3b6
# Parent 682ad781e5b01be0baf81a5db2da840f1986655d
[TEST] update processor id in SettingsDefine01~03 to reflect recent provider changes
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 682ad781e5b0 -r 248707005ae8
suites/libvirt-cim/cimtest/SettingsDefine/01_forward.py
--- a/suites/libvirt-cim/cimtest/SettingsDefine/01_forward.py Thu Apr 10 18:55:50 2008
-0700
+++ b/suites/libvirt-cim/cimtest/SettingsDefine/01_forward.py Thu Apr 10 19:01:00 2008
-0700
@@ -82,7 +82,7 @@ def main():
'LogicalDisk' : test_disk,
'Memory' : 'mem',
'NetworkPort' : test_mac,
- 'Processor' : test_vcpus -1 }
+ 'Processor' : 'proc' }
devlist = {}
logelelst = {}
diff -r 682ad781e5b0 -r 248707005ae8
suites/libvirt-cim/cimtest/SettingsDefine/02_reverse.py
--- a/suites/libvirt-cim/cimtest/SettingsDefine/02_reverse.py Thu Apr 10 18:55:50 2008
-0700
+++ b/suites/libvirt-cim/cimtest/SettingsDefine/02_reverse.py Thu Apr 10 19:01:00 2008
-0700
@@ -186,13 +186,13 @@ def main():
global rasd_devid
rasd_devid = {
- 'ProcResourceAllocationSettingData' : '%s/%s' % (test_dom,
test_vcpus-1),
+ 'ProcResourceAllocationSettingData' : '%s/%s' % (test_dom,
'proc'),
'NetResourceAllocationSettingData' : '%s/%s' % (test_dom,
test_mac),
'DiskResourceAllocationSettingData' : '%s/%s' % (test_dom,
test_disk),
'MemResourceAllocationSettingData' : '%s/%s' % (test_dom,
'mem')}
global dev_devid
dev_devid = {
- 'Processor' : '%s/%s' % (test_dom, test_vcpus-1),
+ 'Processor' : '%s/%s' % (test_dom, 'proc'),
'NetworkPort' : '%s/%s' % (test_dom, test_mac),
'LogicalDisk' : '%s/%s' % (test_dom, test_disk),
'Memory' : '%s/%s' % (test_dom, 'mem')}
diff -r 682ad781e5b0 -r 248707005ae8
suites/libvirt-cim/cimtest/SettingsDefine/03_sds_fwd_errs.py
--- a/suites/libvirt-cim/cimtest/SettingsDefine/03_sds_fwd_errs.py Thu Apr 10 18:55:50
2008 -0700
+++ b/suites/libvirt-cim/cimtest/SettingsDefine/03_sds_fwd_errs.py Thu Apr 10 19:01:00
2008 -0700
@@ -232,7 +232,7 @@ def main():
get_typed_class(options.virt, 'LogicalDisk') : test_disk,
get_typed_class(options.virt, 'Memory') : 'mem',
get_typed_class(options.virt, 'NetworkPort') : test_mac,
- get_typed_class(options.virt, 'Processor') : test_vcpus - 1
+ get_typed_class(options.virt, 'Processor') : 'proc'
}
tc_scen = [