Commit 3410084675aa2b7bf5915ff022f89d4e0d66a1c5

Edward Thomson 2014-11-26T16:24:37

tests: use p_ instead of posix func directly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/tests/config/include.c b/tests/config/include.c
index d4af595..0a93134 100644
--- a/tests/config/include.c
+++ b/tests/config/include.c
@@ -83,8 +83,8 @@ void test_config_include__depth(void)
 
 	cl_git_fail(git_config_open_ondisk(&cfg, "a"));
 
-	unlink("a");
-	unlink("b");
+	p_unlink("a");
+	p_unlink("b");
 }
 
 void test_config_include__missing(void)