# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213239299 -28800
# Node ID e9d50146ccde3d1eaef531dcbd99f30a8db94183
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST]2# Update VirtualSystemSettingDataComponent.04 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b9100cec9aed -r e9d50146ccde
suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/04_vssdc_rev_errs.py
---
a/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/04_vssdc_rev_errs.py Wed
Jun 11 03:38:49 2008 -0700
+++
b/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/04_vssdc_rev_errs.py Thu
Jun 12 10:54:59 2008 +0800
@@ -66,7 +66,7 @@
from CimTest.Globals import do_main, logger
from CimTest.Globals import CIM_USER, CIM_PASS, CIM_NS
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
test_dom = "domu1"
@@ -121,7 +121,7 @@
if options.virt == "Xen" or options.virt == "XenFV":
inst_id = "Xen:%s" % test_dom
else:
- inst_id = "KVM:%s" % test_dom
+ inst_id = "%s:%s" % (options.virt, test_dom)
name_val = ['InstanceID', inst_id]
Show replies by date