tests: use predefined exit codes when returning from main()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 7 Feb 2023 13:17:04 +0000 (14:17 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 7 Feb 2023 13:17:04 +0000 (14:17 +0100)
commitee0af2f393caa2b1a3248b288c3cb37a63e51011
treed185d230fefd2818b92120e4b3a002364d8f97fe
parent78c484ee63561dabf6df82495865534f14737122
tests: use predefined exit codes when returning from main()

Use EXIT_FAILURE to indicate an error in main() instead of returning 1.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tests/gpiod-test.c