Skip to content

Commit 0a74f39

Browse files
Carson HowardCarson Howard
authored andcommitted
test: submodule: add: use p_mkdir to create directories
1 parent ad1c435 commit 0a74f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/submodule/add.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void test_submodule_add__path_exists_in_index(void)
143143
git_buf_joinpath(&dirname, git_repository_workdir(g_repo), "/TestGitRepository");
144144
git_buf_joinpath(&filename, dirname.ptr, "/test.txt");
145145

146-
mkdir(dirname.ptr, 0700);
146+
p_mkdir(dirname.ptr, 0700);
147147
fd = fopen(filename.ptr, "w");
148148
fclose(fd);
149149

0 commit comments

Comments
 (0)