On Thu, Aug 04, 2016 at 09:47:47 +0200, Michal Privoznik wrote:
> At the beginning of the test, some preparation work is done. For
> instance new virSecurityManager is created. If this fails for
> whatever reason, we try to fetch the latest error and print the
> error message contained in it. However, if there's a bug in our
> code and no error is reported, this approach will lead to crash,
> while with virGetLastErrorMessage() it won't.
> 
> Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
> ---
>  tests/securityselinuxlabeltest.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

ACK

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

Reply via email to