Check if ARP/NDP entries are purged when a related route is deleted

This commit is contained in:
ozaki-r 2017-06-30 07:57:12 +00:00
parent 3f552b2669
commit 3cd9889005
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: t_flags.sh,v 1.18 2017/06/28 04:14:53 ozaki-r Exp $
# $NetBSD: t_flags.sh,v 1.19 2017/06/30 07:57:12 ozaki-r Exp $
#
# Copyright (c) 2015 The NetBSD Foundation, Inc.
# All rights reserved.
@ -148,6 +148,8 @@ test_blackhole()
# Delete an existing route first
atf_check -s exit:0 -o ignore rump.route delete -net 10.0.0.0/24
# Should be removed too
atf_check -s not-exit:0 -e match:'no entry' rump.arp -n 10.0.0.1
# Gateway must be lo0
atf_check -s exit:0 -o ignore \

View File

@ -1,4 +1,4 @@
# $NetBSD: t_flags6.sh,v 1.14 2017/06/28 04:14:53 ozaki-r Exp $
# $NetBSD: t_flags6.sh,v 1.15 2017/06/30 07:57:12 ozaki-r Exp $
#
# Copyright (c) 2016 Internet Initiative Japan Inc.
# All rights reserved.
@ -134,6 +134,9 @@ test_blackhole6()
# Delete an existing route first
atf_check -s exit:0 -o ignore \
rump.route delete -inet6 -net fc00::/64
# Should be removed too
atf_check -s not-exit:0 -o ignore -e match:'no entry' \
rump.ndp -n $IP6_PEER
# Gateway must be lo0
atf_check -s exit:0 -o ignore \