summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-08-25 18:01:34 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2021-08-29 21:52:30 -0400
commit0e0472686680102ebfc81e85089273990fb86757 (patch)
tree855aac4761a73e171a302a40d99cfb61a2a996a1 /ci
parenta5d6a5768f5537ef0a408cf51ce8c13742412041 (diff)
downloadlibgit2-0e0472686680102ebfc81e85089273990fb86757.tar.gz
opts: test GIT_OPT_SET_SSL_CERT_LOCATIONS
Include a self-signed certificate for test.libgit2.org:1443 that we can use to verify that GIT_OPT_SET_SSL_CERT_LOCATIONS works.
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/ci/test.sh b/ci/test.sh
index da3c01c2f..4d6c41f76 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -179,9 +179,9 @@ if [ -n "$RUN_INVASIVE_TESTS" ]; then
fi
if [ -z "$SKIP_ONLINE_TESTS" ]; then
- # Run the various online tests. The "online" test suite only includes the
- # default online tests that do not require additional configuration. The
- # "proxy" and "ssh" test suites require further setup.
+ # Run the online tests. The "online" test suite only includes the
+ # default online tests that do not require additional configuration.
+ # The "proxy" and "ssh" test suites require further setup.
echo ""
echo "##############################################################################"
@@ -191,6 +191,14 @@ if [ -z "$SKIP_ONLINE_TESTS" ]; then
export GITTEST_FLAKY_RETRY=5
run_test online
unset GITTEST_FLAKY_RETRY
+
+ # Run the online tests that immutably change global state separately
+ # to avoid polluting the test environment.
+ echo ""
+ echo "##############################################################################"
+ echo "## Running (online_customcert) tests"
+ echo "##############################################################################"
+ run_test online_customcert
fi
if [ -z "$SKIP_GITDAEMON_TESTS" ]; then