From c6de625624e6265e8162db713652f8d57175fcd7 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 4 May 2026 14:10:00 +0100 Subject: [PATCH] ci: use the new `initial-redirect:none` repo poxygit now supports a "specification" within the URI that can provide additional details about the mock/debugging connection. The `:none` suffix on the redirect request indicates that the proxy should send a 0 byte response body. --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 6e435655e..19d466a65 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -299,7 +299,7 @@ if should_run "ONLINE_TESTS"; then echo "## Running networking (online) tests" echo "##############################################################################" - export GITTEST_REMOTE_REDIRECT_INITIAL="http://localhost:9000/initial-redirect/libgit2/TestGitRepository" + export GITTEST_REMOTE_REDIRECT_INITIAL="http://localhost:9000/initial-redirect:none/libgit2/TestGitRepository" export GITTEST_REMOTE_REDIRECT_SUBSEQUENT="http://localhost:9000/subsequent-redirect/libgit2/TestGitRepository" export GITTEST_REMOTE_SPEED_SLOW="http://localhost:9000/speed:9600/test.git" export GITTEST_REMOTE_SPEED_TIMESOUT="http://localhost:9000/speed:0.5/test.git"