X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fhas_tests.c;h=0866869570c2e71b1f21a3d7eff5574fec33db51;hp=320478b38da61424727c093bece2032c55c5528f;hb=7c71ddab47d9b06aa140f305c956e454d711e66e;hpb=33cf75ea56329a6442fda88c6832f2f4c04de6ba diff --git a/tools/ccanlint/has_tests.c b/tools/ccanlint/has_tests.c index 320478b3..08668695 100644 --- a/tools/ccanlint/has_tests.c +++ b/tools/ccanlint/has_tests.c @@ -80,7 +80,7 @@ static void handle_no_tests(struct manifest *m, void *check_result) if (!ask("Should I create a template test/run.c file for you?")) return; - if (mkdir("test", 0600) != 0) { + if (mkdir("test", 0700) != 0) { if (errno != EEXIST) err(1, "Creating test/ directory"); }