diff options
| author | Carson Howard <carsonh@axosoft.com> | 2017-10-16 16:16:03 -0700 |
|---|---|---|
| committer | Carson Howard <tylerw+systemtest@axosoft.com> | 2018-03-27 07:29:04 -0700 |
| commit | 0a74f391be5f511a944cd7170946669fe27978dd (patch) | |
| tree | 5ba15b3d9d80f0e719154fd5fea09f5272262beb /tests/submodule | |
| parent | ad1c435054cd9c1f6fd0eeaff497651cbd1e5d30 (diff) | |
| download | libgit2-0a74f391be5f511a944cd7170946669fe27978dd.tar.gz | |
test: submodule: add: use p_mkdir to create directories
Diffstat (limited to 'tests/submodule')
| -rw-r--r-- | tests/submodule/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/submodule/add.c b/tests/submodule/add.c index ca6500dad..dec36a52b 100644 --- a/tests/submodule/add.c +++ b/tests/submodule/add.c @@ -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); |
