Commit ca7cd1734d038a570f59ca7d2bd6cb63db763d49

Edward Thomson 2014-10-03T19:30:48

p_mkdir != mkdir on win32

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/tests/stash/save.c b/tests/stash/save.c
index 7873d20..a5bdd0c 100644
--- a/tests/stash/save.c
+++ b/tests/stash/save.c
@@ -370,8 +370,8 @@ void test_stash_save__including_untracked_without_any_untracked_file_creates_an_
 
 void test_stash_save__ignored_directory(void)
 {
-	cl_git_pass(mkdir("stash/ignored_directory", 0777));
-	cl_git_pass(mkdir("stash/ignored_directory/sub", 0777));
+	cl_git_pass(p_mkdir("stash/ignored_directory", 0777));
+	cl_git_pass(p_mkdir("stash/ignored_directory/sub", 0777));
 	cl_git_mkfile("stash/ignored_directory/sub/some_file", "stuff");
 
 	assert_status(repo, "ignored_directory/sub/some_file", GIT_STATUS_WT_NEW);