# HG changeset patch
# User Sharad Mishra <snmishra(a)us.ibm.com>
# Date 1260230884 28800
# Node ID ae7ffb52d6cd8649d202d859d279211e906e096b
# Parent d7c67e4d36807857c05eb0d536718b4e1dfd7e33
[TEST] Update test to pass an ip address.
Signed-off-by: Sharad Mishra<snmishra(a)us.ibm.com>
diff -r d7c67e4d3680 -r ae7ffb52d6cd
suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py
--- a/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Mon Dec 07
16:07:10 2009 -0800
+++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Mon Dec 07
16:08:04 2009 -0800
@@ -106,7 +106,7 @@
try:
virt_xml = get_class(virt)
lport = randrange(5900, 5999)
- vsxml = virt_xml(test_dom, port_num=str(lport))
+ vsxml = virt_xml(test_dom, address='127.0.0.1', port_num=str(lport))
# Define the VS, and verify the KVMRedirectionSAP values.
ret = vsxml.cim_define(server)