]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.c
failtest: use high-numbers file descriptors to stay out of the way.
[ccan] / tools / ccanlint / ccanlint.c
index fe99f7b4cfe6254d436e718fa87b121dd5452435..4092d104160145fd6e0657187034a48da3ad845c 100644 (file)
@@ -372,6 +372,7 @@ static void print_tests(struct list_head *tests, const char *type)
 
 static char *list_tests(void *arg)
 {
+       init_tests();
        print_tests(&compulsory_tests, "Compulsory");
        print_tests(&normal_tests, "Normal");
        exit(0);
@@ -402,6 +403,7 @@ static void test_dgraph_edges(struct list_head *tests)
 
 static char *test_dependency_graph(void *arg)
 {
+       init_tests();
        puts("digraph G {");
 
        test_dgraph_vertices(&compulsory_tests, ", style=filled, fillcolor=yellow");