# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1216869559 25200
# Node ID de9cf9b8a9302a55eff582f15c133cca98547c9b
# Parent 32d78f23f6e73f5443022179410128767896465d
[TEST] Update ElementSettingData.03 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 32d78f23f6e7 -r de9cf9b8a930
suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py
--- a/suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py Wed Jul
23 00:32:36 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py Wed Jul
23 20:19:19 2008 -0700
@@ -60,7 +60,7 @@ from XenKvmLib.classes import get_typed_
from XenKvmLib.classes import get_typed_class
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'KVM', 'LXC']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
test_dom = "hd_domain1"
test_mac = "00:11:22:33:44:55"
@@ -79,6 +79,8 @@ expr_values = {
@do_main(sup_types)
def main():
options = main.options
+ if options.virt == 'XenFV':
+ options.virt = 'Xen'
status = PASS
virtxml = vxml.get_class(options.virt)