# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1226458889 28800
# Node ID d97222cfb717a382136108c319dee64cc2466716
# Parent 8d6f2db22eda9bda08ff26caa8982f137a3d4486
[TEST] Fix HostSystem/02_hostsystem_to_rasd.py for LXC
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 8d6f2db22eda -r d97222cfb717
suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py
--- a/suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py Tue Nov 11 00:19:20
2008 -0800
+++ b/suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py Tue Nov 11 19:01:29
2008 -0800
@@ -75,6 +75,8 @@
global test_disk
if virt == "Xen":
test_disk = "xvda"
+ if virt == "LXC":
+ test_disk = "/tmp"
else:
test_disk = "hda"
virt_xml = get_class(virt)