Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/if_ipsec tests/net/if_ipsec/t_ipsec disable dad. T...



details:   https://anonhg.NetBSD.org/src/rev/262cfd80a909
branches:  trunk
changeset: 995917:262cfd80a909
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Thu Jan 10 00:45:08 2019 +0000

description:
tests/net/if_ipsec/t_ipsec disable dad. This may fix PR kern/53848

diffstat:

 tests/net/if_ipsec/t_ipsec.sh |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 882ea8d282a5 -r 262cfd80a909 tests/net/if_ipsec/t_ipsec.sh
--- a/tests/net/if_ipsec/t_ipsec.sh     Thu Jan 10 00:05:57 2019 +0000
+++ b/tests/net/if_ipsec/t_ipsec.sh     Thu Jan 10 00:45:08 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec.sh,v 1.5 2018/12/25 03:28:29 knakahara Exp $
+#      $NetBSD: t_ipsec.sh,v 1.6 2019/01/10 00:45:08 knakahara Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -114,6 +114,9 @@
        fi
        atf_check -s exit:0 rump.ifconfig shmif1 up
        $DEBUG && rump.ifconfig shmif1
+
+       atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.dad_count=0
+       atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.dad_count=0
        unset RUMP_SERVER
 }
 



Home | Main Index | Thread Index | Old Index