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

John Ferlan jferlan at redhat.com
Fri Mar 20 20:01:17 UTC 2015



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 at redhat.com>
> ---
>  tests/objecteventtest.c | 29 ++++++++++++++++++-----------
>  1 file changed, 18 insertions(+), 11 deletions(-)
> 

ACK

John




More information about the libvir-list mailing list