mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 18:03:54 +00:00
Fix fetchhead tests
This commit is contained in:
parent
2a2d1ab086
commit
a7f125cdba
@ -63,8 +63,7 @@ static void fetchhead_test_fetch(const char *fetchspec, const char *expected_fet
|
|||||||
git_remote_disconnect(remote);
|
git_remote_disconnect(remote);
|
||||||
git_remote_free(remote);
|
git_remote_free(remote);
|
||||||
|
|
||||||
cl_git_pass(git_futils_readbuffer(&fetchhead_buf,
|
cl_git_pass(git_futils_readbuffer(&fetchhead_buf, "./foo/.git/FETCH_HEAD"));
|
||||||
"./test1/.git/FETCH_HEAD"));
|
|
||||||
|
|
||||||
equals = (strcmp(fetchhead_buf.ptr, expected_fetchhead) == 0);
|
equals = (strcmp(fetchhead_buf.ptr, expected_fetchhead) == 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user