[PATCH] tests: Don't return -1 as program return value

Ján Tomko jtomko at redhat.com
Thu Mar 4 18:04:52 UTC 2021


On a Thursday in 2021, Peter Krempa wrote:
>In cases we use -1 for failure internally we still must return
>EXIT_FAILURE.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> tests/qemucommandutiltest.c    | 3 +--
> tests/virnetdevbandwidthtest.c | 2 +-
> 2 files changed, 2 insertions(+), 3 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210304/c5d3bf63/attachment-0001.sig>


More information about the libvir-list mailing list