Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net tests: check RTA_AUTHOR in messages
details: https://anonhg.NetBSD.org/src/rev/b1b23c828260
branches: trunk
changeset: 970066:b1b23c828260
user: roy <roy%NetBSD.org@localhost>
date: Wed Mar 11 08:52:13 2020 +0000
description:
tests: check RTA_AUTHOR in messages
diffstat:
tests/net/arp/t_arp.sh | 6 +++---
tests/net/ndp/t_ndp.sh | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (51 lines):
diff -r 7bfd2a87287a -r b1b23c828260 tests/net/arp/t_arp.sh
--- a/tests/net/arp/t_arp.sh Wed Mar 11 08:44:32 2020 +0000
+++ b/tests/net/arp/t_arp.sh Wed Mar 11 08:52:13 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_arp.sh,v 1.40 2019/09/09 10:29:04 roy Exp $
+# $NetBSD: t_arp.sh,v 1.41 2020/03/11 08:52:13 roy Exp $
#
# Copyright (c) 2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -735,8 +735,8 @@
$DEBUG && cat $file
hdr="RTM_MISS.+<DONE>"
- what="<DST,GATEWAY>"
- addr="$IP4DST_FAIL1 link#2"
+ what="<DST,GATEWAY,AUTHOR>"
+ addr="$IP4DST_FAIL1 link#2 $IP4SRC"
atf_check -s exit:0 -o match:"$hdr" -o match:"$what" -o match:"$addr" \
cat $file
diff -r 7bfd2a87287a -r b1b23c828260 tests/net/ndp/t_ndp.sh
--- a/tests/net/ndp/t_ndp.sh Wed Mar 11 08:44:32 2020 +0000
+++ b/tests/net/ndp/t_ndp.sh Wed Mar 11 08:52:13 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ndp.sh,v 1.36 2019/09/03 19:07:50 roy Exp $
+# $NetBSD: t_ndp.sh,v 1.37 2020/03/11 08:52:13 roy Exp $
#
# Copyright (c) 2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -455,8 +455,8 @@
$DEBUG && cat $file
hdr="RTM_ADD.+<UP,HOST,DONE,LLINFO,CLONED>"
- what="<DST,GATEWAY>"
- addr="$IP6DST $macaddr_dst"
+ what="<DST,GATEWAY,AUTHOR>"
+ addr="$IP6DST $macaddr_dst $IP6DST"
atf_check -s exit:0 -o match:"$hdr" -o match:"$what" -o match:"$addr" \
cat $file
@@ -471,8 +471,8 @@
$DEBUG && cat $file
hdr="RTM_MISS.+<DONE>"
- what="<DST,GATEWAY>"
- addr="$IP6DST_FAIL1 link#2"
+ what="<DST,GATEWAY,AUTHOR>"
+ addr="$IP6DST_FAIL1 link#2 $IP6DST"
atf_check -s exit:0 -o match:"$hdr" -o match:"$what" -o match:"$addr" \
cat $file
Home |
Main Index |
Thread Index |
Old Index