summaryrefslogtreecommitdiff
path: root/tests-clar
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-10-08 16:32:06 -0700
committerVicent Martí <vicent@github.com>2013-10-08 16:32:06 -0700
commit062c95c2a9265cab8039c02a978944cd672017e5 (patch)
tree4d1caa79563ae2eefce5beb42f154f212274d4af /tests-clar
parentca27ae4859e86006d4b7d2fda4976f328f4726cb (diff)
parent3dc3c723dac9fd2550530675b61849f2215ef767 (diff)
downloadlibgit2-062c95c2a9265cab8039c02a978944cd672017e5.tar.gz
Merge pull request #1895 from libgit2/winhttp-accept
WinHTTP: set Accept header for POSTs
Diffstat (limited to 'tests-clar')
-rw-r--r--tests-clar/online/clone.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests-clar/online/clone.c b/tests-clar/online/clone.c
index 4a6ade52d..aa3d6b26a 100644
--- a/tests-clar/online/clone.c
+++ b/tests-clar/online/clone.c
@@ -11,6 +11,7 @@
#define BB_REPO_URL "https://libgit2@bitbucket.org/libgit2/testgitrepository.git"
#define BB_REPO_URL_WITH_PASS "https://libgit2:libgit2@bitbucket.org/libgit2/testgitrepository.git"
#define BB_REPO_URL_WITH_WRONG_PASS "https://libgit2:wrong@bitbucket.org/libgit2/testgitrepository.git"
+#define ASSEMBLA_REPO_URL "https://libgit2:_Libgit2@git.assembla.com/libgit2-test-repos.git"
static git_repository *g_repo;
static git_clone_options g_options;
@@ -227,6 +228,11 @@ void test_online_clone__bitbucket_style(void)
cl_fixture_cleanup("./foo");
}
+void test_online_clone__assembla_style(void)
+{
+ cl_git_pass(git_clone(&g_repo, ASSEMBLA_REPO_URL, "./foo", NULL));
+}
+
static int cancel_at_half(const git_transfer_progress *stats, void *payload)
{
GIT_UNUSED(payload);