We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test-port-forwarding.pl
1 parent 83293f4 commit dbe02f0Copy full SHA for dbe02f0
hack/test-templates.sh
@@ -446,6 +446,13 @@ if [[ -n ${CHECKS["port-forwards"]} ]]; then
446
if limactl shell "${NAME}" command -v dnf; then
447
limactl shell "${NAME}" sudo dnf install -y nc socat
448
fi
449
+ # print routing table for debugging
450
+ case "${OS_HOST}" in
451
+ "Darwin") netstat -rn ;;
452
+ "GNU/Linux") ip route show ;;
453
+ "Msys") route print ;;
454
+ *) ;;
455
+ esac
456
if "${scriptdir}/test-port-forwarding.pl" "${NAME}" socat $PORT_FORWARDING_CONNECTION_TIMEOUT; then
457
INFO "Port forwarding rules work"
458
else
0 commit comments