From: William Lallemand Date: Wed, 18 Nov 2026 14:02:51 +0000 (+0000) Subject: SCRIPTS: vtest: allow overriding the Git repository URL X-Git-Tag: v3.5-dev13~11 X-Git-Url: https://git.kaiwu.me/web//%22?a=commitdiff_plain;h=691e22fbbdbf8c40d14ab298ade1a6b2f4f44b79;p=haproxy.git SCRIPTS: vtest: allow overriding the Git repository URL Read the VTest repository URL from VTEST_URL so that builds can use an alternate repository. Keep the current URL as the default when the variable is unset or empty. --- diff --git a/scripts/build-vtest.sh b/scripts/build-vtest.sh index 18ac42803..207367d36 100755 --- a/scripts/build-vtest.sh +++ b/scripts/build-vtest.sh @@ -2,9 +2,10 @@ DESTDIR=${DESTDIR:-${PWD}/../vtest/} TMPDIR=${TMPDIR:-$(mktemp -d)} +VTEST_URL=${VTEST_URL:-https://code.vinyl-cache.org/vtest/VTest2} set -eux -git clone https://code.vinyl-cache.org/vtest/VTest2 "${TMPDIR}/vtest" +git clone "${VTEST_URL}" "${TMPDIR}/vtest" # Special flags due to: https://github.com/vtest/VTest/issues/12 # Note: do not use "make -C ../vtest", otherwise MAKEFLAGS contains "w"