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/cf8c2f56c6de
branches:  trunk
changeset: 447409:cf8c2f56c6de
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 53473258b75b -r cf8c2f56c6de 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