libnl/tests/util.h
Thomas Graf 4e9aa6a9a6 tests: Add basic attribute unit tests
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-04-28 12:31:52 +02:00

5 lines
155 B
C

#include <check.h>
#define nl_fail_if(condition, error, message) \
fail_if((condition), "nlerr=%d (%s): %s", \
(error), nl_geterror(error), (message))