From 568f16f767b3385955d52bc9903bbe0798a0481e Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 8 Nov 2024 08:59:51 +0900 Subject: [PATCH] test-templates.sh: fix wrong comment "binds to 0.0.0.0 by default" This is a non-default behavior configured via `test-port-forwarding.pl`. Signed-off-by: Akihiro Suda --- hack/test-templates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/test-templates.sh b/hack/test-templates.sh index 57ff37a450b..704b43655f9 100755 --- a/hack/test-templates.sh +++ b/hack/test-templates.sh @@ -286,7 +286,7 @@ if [[ -n ${CHECKS["port-forwards"]} ]]; then "${scriptdir}/test-port-forwarding.pl" "${NAME}" if [[ -n ${CHECKS["container-engine"]} || ${NAME} == "alpine"* ]]; then - INFO "Testing that \"${CONTAINER_ENGINE} run\" binds to 0.0.0.0 by default and is forwarded to the host" + INFO "Testing that \"${CONTAINER_ENGINE} run\" binds to 0.0.0.0 and is forwarded to the host (non-default behavior, configured via test-port-forwarding.pl)" if [ "$(uname)" = "Darwin" ]; then # macOS runners seem to use `localhost` as the hostname, so the perl lookup just returns `127.0.0.1` hostip=$(system_profiler SPNetworkDataType -json | jq -r 'first(.SPNetworkDataType[] | select(.ip_address) | .ip_address) | first')