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 bcc8202 commit 3d6754eCopy full SHA for 3d6754e
hack/test-templates.sh
@@ -435,6 +435,13 @@ if [[ -n ${CHECKS["port-forwards"]} ]]; then
435
if limactl shell "${NAME}" command -v dnf; then
436
limactl shell "${NAME}" sudo dnf install -y nc socat
437
fi
438
+ # print routing table for debugging
439
+ case "${OS_HOST}" in
440
+ "Darwin") netstat -rn ;;
441
+ "GNU/Linux") ip route show ;;
442
+ "Msys") route print ;;
443
+ *) ;;
444
+ esac
445
if "${scriptdir}/test-port-forwarding.pl" "${NAME}" socat $PORT_FORWARDING_CONNECTION_TIMEOUT; then
446
INFO "Port forwarding rules work"
447
else
0 commit comments