[Libvirt-cim] [PATCH] [TEST] Fix RPCS to work with older versions of libvirt-cim

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Mon Jul 13 17:45:55 UTC 2009


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1247507138 25200
# Node ID de91439de07c3cc8e3ca5a5e398f3fad35d0a664
# Parent  89d8b84653726ba7508c17a5da75cc695c9da304
[TEST] Fix RPCS to work with older versions of libvirt-cim...

If DiskPoolRASD templates aren't supported, then create_pool() return a SKIP
status error.  Return this instead of a FAIL.

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r 89d8b8465372 -r de91439de07c suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py	Mon Jul 13 10:40:57 2009 -0700
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py	Mon Jul 13 10:45:38 2009 -0700
@@ -92,7 +92,7 @@
                                  pool_type="DiskPool", mode_type=TYPE)
             if status != PASS:
                 logger.error("Failed to create diskpool '%s'", test_pool)
-                return FAIL
+                return status 
 
             status = verify_pool(server, virt, test_pool, 
                                  pool_attr, pool_type="DiskPool")




More information about the Libvirt-cim mailing list