Skip to content

Commit 568f16f

Browse files
committed
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 <[email protected]>
1 parent 474eec4 commit 568f16f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/test-templates.sh

Lines changed: 1 addition & 1 deletion
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)