aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2025-10-15 18:44:54 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2025-10-15 18:55:25 +0000
commit8596810d02a1e361e0312d116339aa106aca4b19 (patch)
tree98ee45e5f8ed5d7b75374113bfc937147f8005d0
parent47b2732650252a1d31b25f6008aaa42e963eb8c1 (diff)
tests/carp: kill routed(8) before destroying interfaces
Otherwise routed logs a warning: "MCAST_LEAVE_GROUP ALLROUTERS: Can't assign requested address" that may be misinterpreted as a problem.
-rwxr-xr-xtests/sys/netinet/carp.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sys/netinet/carp.sh b/tests/sys/netinet/carp.sh
index 2aae2854826e..568d2beaf914 100755
--- a/tests/sys/netinet/carp.sh
+++ b/tests/sys/netinet/carp.sh
@@ -215,6 +215,9 @@ unicast_v4_body()
unicast_v4_cleanup()
{
+ jexec carp_uni_v4_one killall routed
+ jexec carp_uni_v4_two killall routed
+ jexec carp_uni_v4_three killall routed
vnet_cleanup
}