1 #ifndef TDB2_TEST_FAILTEST_HELPER_H
2 #define TDB2_TEST_FAILTEST_HELPER_H
3 #include <ccan/failtest/failtest.h>
6 /* FIXME: Check these! */
7 #define INITIAL_TDB_MALLOC "open.c", 396, FAILTEST_MALLOC
8 #define URANDOM_OPEN "open.c", 62, FAILTEST_OPEN
9 #define URANDOM_READ "open.c", 42, FAILTEST_READ
11 bool exit_check_log(struct failtest_call
*history
, unsigned num
);
12 bool failmatch(const struct failtest_call
*call
,
13 const char *file
, int line
, enum failtest_call_type type
);
15 block_repeat_failures(struct failtest_call
*history
, unsigned num
);
17 #endif /* TDB2_TEST_LOGGING_H */