git: 8596810d02a1 - main - tests/carp: kill routed(8) before destroying interfaces

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Wed, 15 Oct 2025 18:55:36 UTC
The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=8596810d02a1e361e0312d116339aa106aca4b19

commit 8596810d02a1e361e0312d116339aa106aca4b19
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-10-15 18:44:54 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-10-15 18:55:25 +0000

    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.
---
 tests/sys/netinet/carp.sh | 3 +++
 1 file changed, 3 insertions(+)

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
 }