Please ignore this patch.
Thanks!
Best,
Regards
Daisy (运国莲)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol(a)cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
Guo Lian Yun/China/IBM@IBMCN
Sent by: libvirt-cim-bounces(a)redhat.com
2008-10-09 09:38
Please respond to
List for discussion and development of libvirt CIM
<libvirt-cim(a)redhat.com>
To
libvirt-cim(a)redhat.com
cc
Subject
[Libvirt-cim] [PATCH] [TEST] Fix a false positive in
HostedResourcePool/01_forward.py
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1223516283 25200
# Node ID 32b6d72c7eed7a92cfc82c2f6fda973885eb9fcc
# Parent 285bc0174fb36512228e1cfcaba2186a0aa112c5
[TEST] Fix a false positive in HostedResourcePool/01_forward.py
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 285bc0174fb3 -r 32b6d72c7eed
suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py
--- a/suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py Wed Oct
08 03:03:37 2008 -0700
+++ b/suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py Wed Oct
08 18:38:03 2008 -0700
@@ -67,7 +67,8 @@ def main():
else:
logger.error("No pool returned")
return FAIL
-
+
+ status = FAIL
for items in pool:
cname = items.classname
if cname.find("MemoryPool") >=0 and items['InstanceID'] ==
"MemoryPool/0":
@@ -80,6 +81,9 @@ def main():
if cname.find("DiskPool") >=0 and \
items['InstanceID'] == "DiskPool/%s" % default_pool_name:
status = PASS
+ if status != PASS:
+ logger.error("HostedResourcePool information error")
+ return FAIL
return status
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim