git: e090646d6f5a - main - ndp tests: Update to chase commit 9206c79961986

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Fri, 29 Nov 2024 17:01:44 UTC
The branch main has been updated by markj:

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

commit e090646d6f5a4a6848ecd4bcb1f2db498ea3b3e2
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-11-29 16:55:24 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-11-29 17:01:33 +0000

    ndp tests: Update to chase commit 9206c79961986
    
    "netstat -rn" no longer prints the default route using symbol names, but
    the test relied on it.  Update it to look for ::/0 instead.
    
    MFC after:      1 week
    Fixes:  9206c7996198 ("usr.bin/netstat: -n should not print symbolic names")
---
 tests/sys/netinet6/ndp.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/sys/netinet6/ndp.sh b/tests/sys/netinet6/ndp.sh
index 038a640f331e..24c0853d7361 100755
--- a/tests/sys/netinet6/ndp.sh
+++ b/tests/sys/netinet6/ndp.sh
@@ -163,12 +163,12 @@ ndp_slaac_default_route_body() {
 	while [ -z "$(jexec ${jname} ndp -r)" ]; do
 		sleep 0.1
 	done
-	atf_check -o match:"^default[[:space:]]+fe80:" \
+	atf_check -o match:"^::/0[[:space:]]+fe80:" \
 	    jexec ${jname} netstat -rn -6
 
 	# Get rid of the default route.
 	jexec ${jname} route -6 flush
-	atf_check -o not-match:"^default[[:space:]]+fe80:" \
+	atf_check -o not-match:"^::/0[[:space:]]+fe80:" \
 	    jexec ${jname} netstat -rn -6
 
 	# Send another RA, make sure that the default route is installed again.
@@ -180,7 +180,7 @@ ndp_slaac_default_route_body() {
 	while [ -z "$(jexec ${jname} ndp -r)" ]; do
 		sleep 0.1
 	done
-	atf_check -o match:"^default[[:space:]]+fe80:" \
+	atf_check -o match:"^::/0[[:space:]]+fe80:" \
 	    jexec ${jname} netstat -rn -6
 }