Module Name: src
Committed By: roy
Date: Thu Sep 17 11:51:01 UTC 2020
Modified Files:
src/tests/net/arp: t_arp.sh
Log Message:
arp_rtm: Only ping once
Pointless doing 10 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/tests/net/arp/t_arp.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/net/arp/t_arp.sh
diff -u src/tests/net/arp/t_arp.sh:1.43 src/tests/net/arp/t_arp.sh:1.44
--- src/tests/net/arp/t_arp.sh:1.43 Tue Sep 15 11:19:10 2020
+++ src/tests/net/arp/t_arp.sh Thu Sep 17 11:51:01 2020
@@ -1,4 +1,4 @@
-# $NetBSD: t_arp.sh,v 1.43 2020/09/15 11:19:10 roy Exp $
+# $NetBSD: t_arp.sh,v 1.44 2020/09/17 11:51:01 roy Exp $
#
# Copyright (c) 2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -717,9 +717,8 @@ arp_rtm_body()
rump.route -n monitor -c 1 > $file &
pid=$!
sleep 1
- # arp_maxtries = 5, second between each try
atf_check -s exit:2 -o ignore -e ignore \
- rump.ping -n -w 10 -c 10 $IP4DST_FAIL1
+ rump.ping -n -w 1 -c 1 $IP4DST_FAIL1
wait $pid
$DEBUG && cat $file