Commit a7f125cdba0fe00c7df39e124e104fd030718350

Ben Straub 2012-12-15T14:56:20

Fix fetchhead tests

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tests-clar/fetchhead/network.c b/tests-clar/fetchhead/network.c
index d10c891..dc223e2 100644
--- a/tests-clar/fetchhead/network.c
+++ b/tests-clar/fetchhead/network.c
@@ -63,8 +63,7 @@ static void fetchhead_test_fetch(const char *fetchspec, const char *expected_fet
 	git_remote_disconnect(remote);
 	git_remote_free(remote);
 
-	cl_git_pass(git_futils_readbuffer(&fetchhead_buf,
-		"./test1/.git/FETCH_HEAD"));
+	cl_git_pass(git_futils_readbuffer(&fetchhead_buf, "./foo/.git/FETCH_HEAD"));
 
 	equals = (strcmp(fetchhead_buf.ptr, expected_fetchhead) == 0);