Skip to content

Commit 7df86f9

Browse files
authored
Merge pull request #2873 from AkihiroSuda/portfwd-fix-wrong-comment
test-templates.sh: fix wrong comment "binds to 0.0.0.0 by default"
2 parents 474eec4 + 568f16f commit 7df86f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/test-templates.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ if [[ -n ${CHECKS["port-forwards"]} ]]; then
286286
"${scriptdir}/test-port-forwarding.pl" "${NAME}"
287287

288288
if [[ -n ${CHECKS["container-engine"]} || ${NAME} == "alpine"* ]]; then
289-
INFO "Testing that \"${CONTAINER_ENGINE} run\" binds to 0.0.0.0 by default and is forwarded to the host"
289+
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)"
290290
if [ "$(uname)" = "Darwin" ]; then
291291
# macOS runners seem to use `localhost` as the hostname, so the perl lookup just returns `127.0.0.1`
292292
hostip=$(system_profiler SPNetworkDataType -json | jq -r 'first(.SPNetworkDataType[] | select(.ip_address) | .ip_address) | first')

0 commit comments

Comments
 (0)