]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/has_tests.c
Patch from Joey Adams:
[ccan] / tools / ccanlint / has_tests.c
index 320478b38da61424727c093bece2032c55c5528f..0866869570c2e71b1f21a3d7eff5574fec33db51 100644 (file)
@@ -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");
        }