summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2016-03-03 10:08:00 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2016-03-03 11:18:03 +0100
commit25205737781ec0d73e57283f43e5d4fdf355a0dc (patch)
treeab71913c2d0fa82b9e902b7c2a8d86be2ec7959f /script
parent9b3fc895b724bbdd5a698c8e7dc9ae6551f0a83d (diff)
downloadlibgit2-25205737781ec0d73e57283f43e5d4fdf355a0dc.tar.gz
test: make sure we retry the auth callback on all platforms
We were missing this test on Windows, which meant we didn't notice that we never fixed the single authentication attempt it tries, nor its wrong return code. Enable this for the unix platforms as well over HTTP. We previously were doing it locally but disabled it on OS X due to issues with its sshd not accepting password authentication.
Diffstat (limited to 'script')
-rwxr-xr-xscript/cibuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/cibuild.sh b/script/cibuild.sh
index de5df9ea8..029dcd413 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -56,3 +56,7 @@ if [ -e ./libgit2_clar ]; then
./libgit2_clar -sonline::clone::cred_callback || exit $?
fi
fi
+
+export GITTEST_REMOTE_URL="https://github.com/libgit2/non-existent"
+export GITTEST_REMOTE_USER="libgit2test"
+./libgit2_clar -sonline::clone::cred_callback || exit $?