# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1227506606 28800
# Node ID 0c72a96031f673677c5bd8675fd2232f5572e8cc
# Parent c349be6661452da17725d63a69aee17f5da9a80d
[TEST] Fix HostSystem/02_hostsystem_to_rasd.py
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r c349be666145 -r 0c72a96031f6
suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py
--- a/suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py Wed Nov 19 22:42:13
2008 -0800
+++ b/suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py Sun Nov 23 22:03:26
2008 -0800
@@ -58,7 +58,7 @@
from CimTest.ReturnCodes import PASS, FAIL
from XenKvmLib.rasd import verify_procrasd_values, verify_netrasd_values, \
verify_diskrasd_values, verify_memrasd_values, verify_displayrasd_values, \
-rasd_init_list
+rasd_init_list, verify_inputrasd_values
sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
@@ -180,6 +180,8 @@
status = verify_memrasd_values(assoc_info[index], rasd)
elif 'GraphicsResourceAllocationSettingData' in CCName:
status = verify_displayrasd_values(assoc_info[index], rasd)
+ elif 'InputResourceAllocationSettingData' in CCName:
+ status = verify_inputrasd_values(assoc_info[index], rasd)
else:
status = FAIL
if status != PASS:
Show replies by date