[Libvirt-cim] [PATCH] [TEST] Fix typos in HostSystem/03_hs_to_settdefcap.py

yunguol at cn.ibm.com yunguol at cn.ibm.com
Mon Feb 16 09:15:16 UTC 2009


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1234775709 28800
# Node ID e1c4c9f852c9edf499afb727379337e4766c2e34
# Parent  f5ef41b6e30f104813132be50f405afdef80cc8a
[TEST] Fix typos in HostSystem/03_hs_to_settdefcap.py

Tested for KVM/LXC/Xen/XenFV with current sources

Signed-off-by: Guolian Yun<yunguol at cn.ibm.com>

diff -r f5ef41b6e30f -r e1c4c9f852c9 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:15:09 2009 -0800
@@ -222,9 +222,9 @@
                 # 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:




More information about the Libvirt-cim mailing list