Re: [PATCH] [libvirt-tck] Fix expected error code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Blake wrote:
> On 02/16/2011 07:34 PM, Jim Fehlig wrote:
>   
>> Attempting to set a transient domain autostart results in
>> ERR_OPERATION_INVALID not ERR_INTERNAL_ERROR.
>> ---
>>  scripts/domain/051-transient-autostart.t |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/scripts/domain/051-transient-autostart.t b/scripts/domain/051-transient-autostart.t
>> index 3e5ea61..26ca82b 100644
>> --- a/scripts/domain/051-transient-autostart.t
>> +++ b/scripts/domain/051-transient-autostart.t
>> @@ -48,7 +48,7 @@ my $auto = $dom->get_autostart();
>>  
>>  ok(!$auto, "autostart is disabled for transient VMs");
>>  
>> -ok_error(sub { $dom->set_autostart(1) }, "Set autostart not supported on transient VMs", Sys::Virt::Error::ERR_INTERNAL_ERROR);
>> +ok_error(sub { $dom->set_autostart(1) }, "Set autostart not supported on transient VMs", Sys::Virt::Error::ERR_OPERATION_INVALID);
>>     
>
> ACK.
>   

Thanks; pushed.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]