Author: brane
Date: Wed Apr 29 08:40:23 2026
New Revision: 1933475

Log:
Avoid blocking on name resolution during test setup.

* subversion/tests/cmdline/davautocheck.sh,
  subversion/tests/cmdline/svnserveautocheck.sh: When looking for 'ss'
   or 'netstat', add the '-n' flag to prevent DNS reverse name lookups.

Modified:
   subversion/trunk/subversion/tests/cmdline/davautocheck.sh
   subversion/trunk/subversion/tests/cmdline/svnserveautocheck.sh

Modified: subversion/trunk/subversion/tests/cmdline/davautocheck.sh
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/davautocheck.sh   Wed Apr 29 
08:30:17 2026        (r1933474)
+++ subversion/trunk/subversion/tests/cmdline/davautocheck.sh   Wed Apr 29 
08:40:23 2026        (r1933475)
@@ -337,7 +337,7 @@ fi
 # Stop any previous instances, os we can re-use the port.
 if [ -x $STOPSCRIPT ]; then $STOPSCRIPT ; sleep 1; fi
 
-ss > /dev/null 2>&1 || netstat > /dev/null 2>&1 || fail "unable to find ss or 
netstat required to find a free port"
+ss -n > /dev/null 2>&1 || netstat -n > /dev/null 2>&1 || fail "unable to find 
ss or netstat required to find a free port"
 
 HTTPD_PORT=3691
 while \

Modified: subversion/trunk/subversion/tests/cmdline/svnserveautocheck.sh
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnserveautocheck.sh      Wed Apr 
29 08:30:17 2026        (r1933474)
+++ subversion/trunk/subversion/tests/cmdline/svnserveautocheck.sh      Wed Apr 
29 08:40:23 2026        (r1933475)
@@ -143,7 +143,7 @@ if type time > /dev/null ; then TIME_CMD
 MAKE=${MAKE:-make}
 PATH="$PATH:/usr/sbin/:/usr/local/sbin/"
 
-ss > /dev/null 2>&1 || netstat > /dev/null 2>&1 || fail "unable to find ss or 
netstat required to find a free port"
+ss -n > /dev/null 2>&1 || netstat -n > /dev/null 2>&1 || fail "unable to find 
ss or netstat required to find a free port"
 
 SVNSERVE_PORT=$(random_port)
 while \

Reply via email to