[Libvirt-cim] [PATCH] [TEST] Fixing the if condition in 01_forward.py of HostedService

Deepti B. Kalakeri deeptik at linux.vnet.ibm.com
Fri Oct 17 07:50:01 UTC 2008


# HG changeset patch
# User Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
# Date 1224229448 25200
# Node ID 5be3bda6fb16a5ece5aa18c254d3d934fb2f8831
# Parent  a4a0adafb80f9434e06cb134d7e25bb9c11b1756
[TEST] Fixing the if condition in 01_forward.py of HostedService.

Tested with Xen, XenFV, KVM with current sources, with/without sblim-base-provider.

Signed-off-by: Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>

diff -r a4a0adafb80f -r 5be3bda6fb16 suites/libvirt-cim/cimtest/HostedService/01_forward.py
--- a/suites/libvirt-cim/cimtest/HostedService/01_forward.py	Fri Oct 17 00:40:25 2008 -0700
+++ b/suites/libvirt-cim/cimtest/HostedService/01_forward.py	Fri Oct 17 00:44:08 2008 -0700
@@ -72,7 +72,7 @@ def main():
 
     ccn_list = Set(ccn_list) 
  
-    if (len(val_serv) - len(ccn_list)) != 0:
+    if len((val_serv) - (ccn_list)) != 0:
         if host_ccn == 'Linux_ComputerSystem':
             return XFAIL_RC(bug_sblim)
         else:




More information about the Libvirt-cim mailing list