Re: [PATCH 2/3] objecteventtest: Check for virNetwork* return values

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

 




On 03/16/2015 12:41 PM, Michal Privoznik wrote:
> Lets not give a bad example and check for return values of
> virNetwork* APIs called within the test. Even though it's
> unlikely that any API will fail, it can happen. We're connected
> to the test driver after all, and our API sequence is correct. So
> test driver should fail only in case of bug or OOM.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  tests/objecteventtest.c | 29 ++++++++++++++++++-----------
>  1 file changed, 18 insertions(+), 11 deletions(-)
> 

ACK

John

--
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]