[Libvirt-cim] [PATCH] [TEST] Update RASDIndication test to use "vnc" instead of "graphics"

Chip Vincent cvincent at linux.vnet.ibm.com
Wed Aug 3 17:33:55 UTC 2011


Pushed with corrections.

On 07/28/2011 02:25 PM, Eduardo Lima (Etrunko) wrote:
> On 07/28/2011 12:23 PM, Sharad Mishra wrote:
>> # HG changeset patch
>> # User Sharad Mishra<snmishra at us.ibm.com>
>> # Date 1311864875 25200
>> # Node ID 3c23103a2ca19d6cf66d84a7d87f4dd93e2d609f
>> # Parent 3bc1a0fc5683d705c022014364cacf6d5860ba28
>> [TEST] Update RASDIndication test to use "vnc" instead of "graphics"
>>
>> Graphics RASDs now include support for serial/consoel devices, which
> *console
>
>> includes support for unqiue InstanceIDs. This patch updates the test
> *unique
>
>> to look for<vm_name>/vnc where is used to just look for graphics
>>
>> Signed-off-by: Sharad Mishra<snmishra at us.ibm.com>
>>
>> diff -r 3bc1a0fc5683 -r 3c23103a2ca1
>> suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py
>>
>> ---
>> a/suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py
>> Tue Jul 12 16:02:27 2011 -0300
>> +++
>> b/suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py
>> Thu Jul 28 07:54:35 2011 -0700
>> @@ -108,7 +108,7 @@
>>
>> elif ind_name == 'delete':
>> cn = 'GraphicsResourceAllocationSettingData'
>> - inst_id = '%s/%s' % (test_dom, "graphics")
>> + inst_id = '%s/%s' % (test_dom, "vnc")
>> classname = get_typed_class(virt, cn)
>> nrasd = get_rasd_rec(virt, cn, s_sysname, inst_id)
>>
> ACK
>

-- 
Chip Vincent
Open Virtualization
IBM Linux Technology Center
cvincent at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list