diff options
author | Linquize <linquize@yahoo.com.hk> | 2014-10-27 01:06:28 +0800 |
---|---|---|
committer | Linquize <linquize@yahoo.com.hk> | 2014-10-27 01:06:28 +0800 |
commit | 9223f2884cff6aea0a3781df054e30e1241218c4 (patch) | |
tree | d8563656da24083c14b141f0fdf99aac308068e0 | |
parent | d09458f3e9f24afa0689ce90b7d4191872372634 (diff) | |
download | libgit2-9223f2884cff6aea0a3781df054e30e1241218c4.tar.gz |
Fix test repo dir not deleted after running
-rw-r--r-- | tests/network/fetchlocal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/network/fetchlocal.c b/tests/network/fetchlocal.c index eb9a1087a..965ca2dd5 100644 --- a/tests/network/fetchlocal.c +++ b/tests/network/fetchlocal.c @@ -135,6 +135,7 @@ void test_network_fetchlocal__multi_remotes(void) git_strarray refnames = {0}; git_remote_callbacks callbacks = GIT_REMOTE_CALLBACKS_INIT; + cl_set_cleanup(&cleanup_sandbox, NULL); callbacks.transfer_progress = transfer_cb; cl_git_pass(git_remote_load(&test, repo, "test")); cl_git_pass(git_remote_set_url(test, cl_git_fixture_url("testrepo.git"))); @@ -159,5 +160,4 @@ void test_network_fetchlocal__multi_remotes(void) git_strarray_free(&refnames); git_remote_free(test); git_remote_free(test2); - git_repository_free(repo); } |