mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-22 18:37:52 +00:00
index tests: test capitalization before mkdir
This commit is contained in:
parent
c90ed5b558
commit
2842831800
@ -340,7 +340,9 @@ void test_index_tests__add_invalid_filename(void)
|
||||
cl_must_pass(p_mkdir("./invalid/subdir", 0777));
|
||||
|
||||
/* cl_git_mkfile() needs the dir to exist */
|
||||
if (!git_path_exists("./invalid/.GIT"))
|
||||
cl_must_pass(p_mkdir("./invalid/.GIT", 0777));
|
||||
if (!git_path_exists("./invalid/.GiT"))
|
||||
cl_must_pass(p_mkdir("./invalid/.GiT", 0777));
|
||||
|
||||
add_invalid_filename(repo, ".git/hello");
|
||||
|
Loading…
Reference in New Issue
Block a user