failtest: internally eliminate duplicate calls.
[ccan] / ccan / failtest / test / run-locking.c
index f29f213d061ee62a9647919c5d277f9abf716d10..13fe0b97b3778d9ccc24df11b739b4f2373cab52 100644 (file)
@@ -95,6 +95,7 @@ int main(void)
        unsigned int isize;
 
        plan_tests(5835);
+       failtest_init(0, NULL);
        failtest_hook = dont_fail;
 
        fd = open("run-locking-scratch", O_RDWR|O_CREAT, 0600);