From 0e0472686680102ebfc81e85089273990fb86757 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Wed, 25 Aug 2021 18:01:34 -0400 Subject: 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. --- ci/test.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'ci') 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 -- cgit v1.2.1