summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-06-07 13:06:53 +0200
committerPatrick Steinhardt <ps@pks.im>2018-01-03 11:50:39 +0000
commit54a1bf057a1123cf55ac3447c79761c817382f47 (patch)
tree1280fd80ea7c1752cf15898b131c9f213ad60b2b /appveyor.yml
parentfea6092079d5c09b499e472efead2f7aa81ce8a1 (diff)
downloadlibgit2-54a1bf057a1123cf55ac3447c79761c817382f47.tar.gz
tests: online::clone: inline creds-test with nonexistent URL
Right now, we test our credential callback code twice, once via SSH on localhost and once via a non-existent GitHub repository. While the first URL makes sense to be configurable, it does not make sense to hard-code the non-existing repository, which requires us to call tests multiple times. Instead, we can just inline the URL into another set of tests.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 1c4c1af7e..9b14a9c81 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -48,9 +48,6 @@ test_script:
# Run this early so we know it's ready by the time we need it
$proxyJob = Start-Job { java -jar $Env:APPVEYOR_BUILD_FOLDER\build\poxyproxy.jar -d --port 8080 --credentials foo:bar }
ctest -V -R libgit2_clar
- $env:GITTEST_REMOTE_URL="https://github.com/libgit2/non-existent"
- $env:GITTEST_REMOTE_USER="libgit2test"
- ctest -V -R libgit2_clar-cred_callback
Receive-Job -Job $proxyJob
$env:GITTEST_REMOTE_PROXY_URL = "localhost:8080"
$env:GITTEST_REMOTE_PROXY_USER = "foo"