Module Name: src Committed By: roy Date: Thu Sep 17 11:56:35 UTC 2020
Modified Files: src/tests/net/ndp: t_ndp.sh Log Message: ndp_rtm: Only ping once Pointless doing 3 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.38 -r1.39 src/tests/net/ndp/t_ndp.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/ndp/t_ndp.sh diff -u src/tests/net/ndp/t_ndp.sh:1.38 src/tests/net/ndp/t_ndp.sh:1.39 --- src/tests/net/ndp/t_ndp.sh:1.38 Sun Mar 15 21:15:25 2020 +++ src/tests/net/ndp/t_ndp.sh Thu Sep 17 11:56:35 2020 @@ -1,4 +1,4 @@ -# $NetBSD: t_ndp.sh,v 1.38 2020/03/15 21:15:25 roy Exp $ +# $NetBSD: t_ndp.sh,v 1.39 2020/09/17 11:56:35 roy Exp $ # # Copyright (c) 2015 The NetBSD Foundation, Inc. # All rights reserved. @@ -464,9 +464,8 @@ ndp_rtm_body() rump.route -n monitor -c 1 > $file & pid=$! sleep 1 - # nd6_mmaxtries = 3, second between each try atf_check -s exit:1 -o ignore -e ignore \ - rump.ping6 -n -X 3 -c 3 $IP6DST_FAIL1 + rump.ping6 -n -X 1 -c 1 $IP6DST_FAIL1 wait $pid $DEBUG && cat $file