diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-13 22:24:43 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-13 22:24:43 +0200 |
commit | 3382d8b14fca33f03c98295c07bb804cee62b7f8 (patch) | |
tree | 19d67c797bfe71d43d89509d103a7b978016999c /tests | |
parent | 9c3e4e97f6995bde7879a5907497c35f83ef6b56 (diff) | |
download | libgit2-3382d8b14fca33f03c98295c07bb804cee62b7f8.tar.gz |
test: use read-only account
Don't write in plaintext the password of an account which has full
control over the repository. Instead use an account with read-only
access.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/online/clone.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/online/clone.c b/tests/online/clone.c index 8a2a64f95..4d4cdbf38 100644 --- a/tests/online/clone.c +++ b/tests/online/clone.c @@ -8,9 +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 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" #define ASSEMBLA_REPO_URL "https://libgit2:_Libgit2@git.assembla.com/libgit2-test-repos.git" static git_repository *g_repo; |