summaryrefslogtreecommitdiff
path: root/tests-clar/clone/nonetwork.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-06 10:26:06 -0800
committerBen Straub <bs@github.com>2012-11-09 10:33:05 -0800
commit505da062b88b729a90d4bcf31c4075bd0afd3251 (patch)
treec5bae2d41e0c34f1ebeca0790b773917155744da /tests-clar/clone/nonetwork.c
parent9d6412832509ac3fb0217300eefbc75866dd7258 (diff)
downloadlibgit2-505da062b88b729a90d4bcf31c4075bd0afd3251.tar.gz
Implement local transport's fetch
Diffstat (limited to 'tests-clar/clone/nonetwork.c')
-rw-r--r--tests-clar/clone/nonetwork.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests-clar/clone/nonetwork.c b/tests-clar/clone/nonetwork.c
index 3984f3fe7..36bf63670 100644
--- a/tests-clar/clone/nonetwork.c
+++ b/tests-clar/clone/nonetwork.c
@@ -3,7 +3,6 @@
#include "git2/clone.h"
#include "repository.h"
-#define DO_LOCAL_TEST 0
#define LIVE_REPO_URL "git://github.com/libgit2/TestGitRepository"
static git_repository *g_repo;
@@ -73,12 +72,9 @@ void test_clone_nonetwork__local(void)
{
git_buf src = GIT_BUF_INIT;
build_local_file_url(&src, cl_fixture("testrepo.git"));
-
-#if DO_LOCAL_TEST
cl_set_cleanup(&cleanup_repository, "./local");
cl_git_pass(git_clone(&g_repo, git_buf_cstr(&src), "./local", NULL, NULL, NULL));
-#endif
git_buf_free(&src);
}
@@ -87,12 +83,9 @@ void test_clone_nonetwork__local_bare(void)
{
git_buf src = GIT_BUF_INIT;
build_local_file_url(&src, cl_fixture("testrepo.git"));
-
-#if DO_LOCAL_TEST
cl_set_cleanup(&cleanup_repository, "./local.git");
cl_git_pass(git_clone_bare(&g_repo, git_buf_cstr(&src), "./local.git", NULL, NULL));
-#endif
git_buf_free(&src);
}