X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ffailtest%2F_info;h=87569f919848ca4ea79a8842ae713d580a38bde1;hb=3c65e082a9547992222a9f379f2484cceaaedfa8;hp=4b43246fff06973433a288ed385595f557259ec0;hpb=97f93f50918abc3578bf868f0e1207eeb6ab1c83;p=ccan diff --git a/ccan/failtest/_info b/ccan/failtest/_info index 4b43246f..87569f91 100644 --- a/ccan/failtest/_info +++ b/ccan/failtest/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * failtest - unit test helpers for testing malloc and other failures. @@ -27,7 +27,7 @@ * * int main(int argc, char *argv[]) * { - * void *a, *b; + * char *a, *b; * * failtest_init(argc, argv); * plan_tests(3); @@ -54,6 +54,9 @@ * * License: LGPL * Author: Rusty Russell + * Ccanlint: + * // valgrind seems to mess up rlimit. + * tests_pass_valgrind test/run-with-fdlimit.c:FAIL */ int main(int argc, char *argv[]) { @@ -61,8 +64,15 @@ int main(int argc, char *argv[]) return 1; if (strcmp(argv[1], "depends") == 0) { + printf("ccan/build_assert\n"); printf("ccan/compiler\n"); + printf("ccan/err\n"); + printf("ccan/hash\n"); + printf("ccan/htable\n"); printf("ccan/read_write_all\n"); + printf("ccan/str\n"); + printf("ccan/time\n"); + printf("ccan/tlist\n"); return 0; }