[Libvirt-cim] [PATCH] [TEST]Fix HostSystem/03_hs_to_settdefcap.py with appropriate number of RASD objects for different platforms
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Thu Feb 5 23:22:46 UTC 2009
>
> diff -r edfa908a60d0 -r 722d799284c3 suites/libvirt-cim/cimtest/HostSystem/03_hs_to_settdefcap.py
> --- a/suites/libvirt-cim/cimtest/HostSystem/03_hs_to_settdefcap.py Tue Feb 03 09:37:05 2009 -0800
> +++ b/suites/libvirt-cim/cimtest/HostSystem/03_hs_to_settdefcap.py Wed Feb 04 21:54:39 2009 -0800
> @@ -219,6 +219,9 @@
> # For Diskpool, we have info 1 for each of Min, Max,
> # default, Increment and 1 for each of PV and FV
> # hence 4 * 2 = 8 records
> + exp_len = 16
> + elif 'DiskPool' in ap['InstanceID'] and virt == 'KVM' and \
> + curr_cim_rev >= libvirt_rasd_template_changes:
> exp_len = 8
These changes were made in rev 805. So using
libvirt_rasd_template_changes won't work here.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list