# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1228723896 28800
# Node ID f346e561aa615d79c547fb3d8bce3e49256493f4
# Parent 701f3228bdfe740f4a504dce1dfab844c812b9d5
[TEST] Update SystemDevice[01_forward.py] to verify the DisplayController and
PointingDevice with SystemDevice.
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 701f3228bdfe -r f346e561aa61
suites/libvirt-cim/cimtest/SystemDevice/01_forward.py
--- a/suites/libvirt-cim/cimtest/SystemDevice/01_forward.py Wed Dec 03 21:31:09 2008
-0800
+++ b/suites/libvirt-cim/cimtest/SystemDevice/01_forward.py Mon Dec 08 00:11:36 2008
-0800
@@ -90,8 +90,12 @@
if virt != 'LXC':
net_cn = get_typed_class(virt, "NetworkPort")
disk_cn = get_typed_class(virt, "LogicalDisk")
+ input_cn = get_typed_class(virt, "PointingDevice")
+ graphics_cn = get_typed_class(virt, "DisplayController")
exp_pllist[net_cn] = ['%s/%s' % (test_dom, test_mac)]
exp_pllist[disk_cn] = [ '%s/%s' % (test_dom, test_disk)]
+ exp_pllist[input_cn] = ['%s/mouse:ps2' % test_dom]
+ exp_pllist[graphics_cn] = ['%s/graphics' % test_dom]
try:
res_pllist = {}