]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: Add TEST_RET macro
authorJan Janssen <medhefgo@web.de>
Thu, 25 Nov 2021 09:27:51 +0000 (10:27 +0100)
committerJan Janssen <medhefgo@web.de>
Sun, 28 Nov 2021 10:40:45 +0000 (11:40 +0100)
commit4c0acc0761aae0370e20e118b9db3b704e9045cd
tree6708374e0bc2073bf15d3187e57004c8f020f8d3
parent788e720181aead8c85ba30fc7ec9a1455a865cbe
test: Add TEST_RET macro

This declares a test function whose return code will be passed from
main(). The first test that does not return EXIT_SUCCESS wins.
src/shared/tests.h