# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1234776999 28800
# Node ID 5708c1704aa8f0fc6bae342419fe7312e2512c0c
# Parent f5ef41b6e30f104813132be50f405afdef80cc8a
[TEST] Fixing HostSystem/03_hs_to_settdefcap.py tc to work with RHEL5.3 rpm.
Tested on KVM/LXC with current sources and Xen with RHEL 5.3 /KVM with F9 rpms.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r f5ef41b6e30f -r 5708c1704aa8
suites/libvirt-cim/cimtest/HostSystem/03_hs_to_settdefcap.py
--- a/suites/libvirt-cim/cimtest/HostSystem/03_hs_to_settdefcap.py Thu Feb 12 18:24:39
2009 -0800
+++ b/suites/libvirt-cim/cimtest/HostSystem/03_hs_to_settdefcap.py Mon Feb 16 01:36:39
2009 -0800
@@ -222,9 +222,9 @@ def get_rasddetails(server, alloccap, vi
# hence 4 * 2 = 8 records
if virt == 'Xen':
if curr_cim_rev >= libvirt_rasd_template_changes and \
- curr_cim_rev < libvirt_read_new_changes:
+ curr_cim_rev < libvirt_rasd_new_changes:
exp_len = 8
- if curr_cim_rev >= libvirt_read_new_changes:
+ if curr_cim_rev >= libvirt_rasd_new_changes:
exp_len = 16
if virt == 'KVM':
if curr_cim_rev >= libvirt_rasd_new_changes: