We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88c8abf commit 188ca62Copy full SHA for 188ca62
tests/index/tests.c
@@ -338,6 +338,10 @@ void test_index_tests__add_invalid_filename(void)
338
cl_git_pass(git_repository_init(&repo, "./invalid", 0));
339
cl_must_pass(p_mkdir("./invalid/subdir", 0777));
340
341
+ /* cl_git_mkfile() needs the dir to exist */
342
+ cl_must_pass(p_mkdir("./invalid/.GIT", 0777));
343
+ cl_must_pass(p_mkdir("./invalid/.GiT", 0777));
344
+
345
add_invalid_filename(repo, ".git/hello");
346
add_invalid_filename(repo, ".GIT/hello");
347
add_invalid_filename(repo, ".GiT/hello");
0 commit comments