failtest: internally eliminate duplicate calls.
[ccan] / ccan / failtest / test / run-malloc.c
index 3912bfd060794300c8456a5ca7a3897637ddee25..e00ec700bb4da56491ae18ff409658c6811fd171 100644 (file)
@@ -95,6 +95,7 @@ int main(void)
        int status;
 
        plan_tests(3);
+       failtest_init(0, NULL);
 
        status = setjmp(exited);
        if (status == 0) {