summaryrefslogtreecommitdiff
path: root/tests-clar/clone
diff options
context:
space:
mode:
authorBen Straub <bstraub@github.com>2012-06-20 14:17:54 -0700
committerBen Straub <bstraub@github.com>2012-06-21 09:53:45 -0700
commit8340dd5d5f0daf3ffda0c7ecb1791b21a152ecd2 (patch)
treee8a61d184a47dfaf97a09d9a7d8b7db89b78115d /tests-clar/clone
parentda73fb70de05f61d39b8dd18bd73628ddbf0f63f (diff)
downloadlibgit2-8340dd5d5f0daf3ffda0c7ecb1791b21a152ecd2.tar.gz
Clone: remove fragile path-handling code.
Also standardized on 3-space indentation. Sorry about that.
Diffstat (limited to 'tests-clar/clone')
-rw-r--r--tests-clar/clone/clone.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests-clar/clone/clone.c b/tests-clar/clone/clone.c
index 6fb6a798..b4e9c309 100644
--- a/tests-clar/clone/clone.c
+++ b/tests-clar/clone/clone.c
@@ -86,16 +86,22 @@ void test_clone_clone__local(void)
}
-void test_clone_clone__network(void)
+void test_clone_clone__network_full(void)
{
#if 0
cl_git_pass(git_clone(&g_repo,
"https://github.com/libgit2/libgit2.git",
"./libgit2", NULL));
+ git_futils_rmdir_r("./libgit2", GIT_DIRREMOVAL_FILES_AND_DIRS);
+#endif
+}
+
+void test_clone_clone__network_bare(void)
+{
+#if 0
cl_git_pass(git_clone_bare(&g_repo,
"https://github.com/libgit2/libgit2.git",
"./libgit2.git", NULL));
- git_futils_rmdir_r("./libgit2", GIT_DIRREMOVAL_FILES_AND_DIRS);
git_futils_rmdir_r("./libgit2.git", GIT_DIRREMOVAL_FILES_AND_DIRS);
#endif
}