mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 07:20:07 +00:00
Merge pull request #2425 from libgit2/cmn/clone-auth-change
Don't use read-write accounts for the tests
This commit is contained in:
commit
1589aa0c4d
@ -8,10 +8,9 @@
|
||||
|
||||
#define LIVE_REPO_URL "http://github.com/libgit2/TestGitRepository"
|
||||
#define LIVE_EMPTYREPO_URL "http://github.com/libgit2/TestEmptyRepository"
|
||||
#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"
|
||||
#define BB_REPO_URL "https://libgit3@bitbucket.org/libgit2/testgitrepository.git"
|
||||
#define BB_REPO_URL_WITH_PASS "https://libgit3:libgit3@bitbucket.org/libgit2/testgitrepository.git"
|
||||
#define BB_REPO_URL_WITH_WRONG_PASS "https://libgit3:wrong@bitbucket.org/libgit2/testgitrepository.git"
|
||||
|
||||
static git_repository *g_repo;
|
||||
static git_clone_options g_options;
|
||||
@ -290,11 +289,6 @@ 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);
|
||||
|
Loading…
Reference in New Issue
Block a user