#define SIZE 8
/* We don't want to fork and fail; we're just testing lock recording. */
-static bool dont_fail(struct failtest_call *history, unsigned num)
+static enum failtest_result dont_fail(struct tlist_calls *history)
{
- return false;
+ return FAIL_DONT_FAIL;
}
static bool place_lock(int fd, char lockarr[], unsigned pos, unsigned size,
unsigned int isize;
plan_tests(5835);
+ failtest_init(0, NULL);
failtest_hook = dont_fail;
fd = open("run-locking-scratch", O_RDWR|O_CREAT, 0600);