summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/runtest b/bin/runtest
index 76e7262..12985b7 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -156,8 +156,8 @@ CHECK_RSH()
# Test "ping -c ..." style first because some '-c' machines treat
# the command 'ping localhost 3' means to ping host '3'.
if [ -z "$PING" ]; then
- if ping -c 3 localhost >/dev/null 2>&1; then
- PING='ping -c 3'
+ if ping -c 3 -w 5 localhost >/dev/null 2>&1; then
+ PING='ping -c 3 -w 5'
PINGCOUNT=
elif ping localhost 3 >/dev/null 2>&1; then
PING=ping