Commit 0a74f391 by Carson Howard Committed by Carson Howard

test: submodule: add: use p_mkdir to create directories

parent ad1c4350
......@@ -143,7 +143,7 @@ void test_submodule_add__path_exists_in_index(void)
git_buf_joinpath(&dirname, git_repository_workdir(g_repo), "/TestGitRepository");
git_buf_joinpath(&filename, dirname.ptr, "/test.txt");
mkdir(dirname.ptr, 0700);
p_mkdir(dirname.ptr, 0700);
fd = fopen(filename.ptr, "w");
fclose(fd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment