# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1217416905 25200
# Node ID ee9f77162c6d8979230dd17e8526db2cdbae45d8
# Parent 2efc46fd30f33e06c20ca8c771abed65725a3fdb
[TEST] Fixing VSSDC 01_forward.py
This tc was failing on KVM with current sources.
Fix tested for Xen, XenFV and KVM with current sources.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 2efc46fd30f3 -r ee9f77162c6d
suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/01_forward.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/01_forward.py Wed Jul
23 17:42:47 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/01_forward.py Wed Jul
30 04:21:45 2008 -0700
@@ -66,7 +66,6 @@ test_dom = "VSSDC_dom"
test_dom = "VSSDC_dom"
test_vcpus = 2
test_mac = "00:11:22:33:44:aa"
-test_disk = 'xvda'
def init_list(test_disk, test_mac, virt='Xen'):
"""
@@ -118,6 +117,12 @@ def main():
status = FAIL
destroy_and_undefine_all(options.ip)
+
+ if options.virt == "Xen":
+ test_disk = "xvdb"
+ else:
+ test_disk = "hdb"
+
prop_list = init_list(test_disk, test_mac, options.virt)
virt_xml = vxml.get_class(options.virt)
if options.virt == 'LXC':