[PATCH 0/3] tests: Return EXIT_* from main instead of 0/-1

Peter Krempa pkrempa at redhat.com
Mon May 17 07:23:53 UTC 2021

On Mon, May 17, 2021 at 08:49:07 +0200, Michal Privoznik wrote:
> See 3/3 for rationale.
> Michal Prívozník (3):
>   testutils: Drop libtool binary name handling
>   tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0
>   testutils: Document and enforce @func callback retvals for
>     virTestMain()


Reviewed-by: Peter Krempa <pkrempa at redhat.com>

I've actually fixed a few instances before where we were returning -1
which was actually confusing the test suite and printing that the test
got some weird signal.

More information about the libvir-list mailing list