# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1242981668 25200
# Node ID a8ad5184432bbbbefa3e17802d334fe465f13140
# Parent 80d1092c225b8f04502c61986e7f81b683bef98b
[TEST] Modifying the RASD/07_parent_disk_pool.py to verify when PoolRASD support.
This patch is dependent on "(#2) Return SKIP if the provider version doesn't
support template pool RASDs"
Tested with KVM on F10 with current sources.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 80d1092c225b -r a8ad5184432b
suites/libvirt-cim/cimtest/RASD/07_parent_disk_pool.py
--- a/suites/libvirt-cim/cimtest/RASD/07_parent_disk_pool.py Fri May 22 01:36:16 2009
-0700
+++ b/suites/libvirt-cim/cimtest/RASD/07_parent_disk_pool.py Fri May 22 01:41:08 2009
-0700
@@ -65,8 +65,10 @@
options = main.options
virt = options.virt
server = options.ip
- diskpool_rasd = get_pool_rasds(server, virt, pool_type="DiskPool",
- filter_default=False)
+ status, diskpool_rasd = get_pool_rasds(server, virt, pool_type="DiskPool",
+ filter_default=False)
+ if status != PASS:
+ return status
inst_list = [ 'Default', 'Minimum', 'Maximum',
'Increment' ]
n_rec_val = { 'ResourceType' : 17,
'PoolID' : "DiskPool/0",
Show replies by date