Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/ndp Cope with tentative state



details:   https://anonhg.NetBSD.org/src/rev/3975caaf7bf1
branches:  trunk
changeset: 820546:3975caaf7bf1
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Jan 11 07:22:43 2017 +0000

description:
Cope with tentative state

diffstat:

 tests/net/ndp/t_ra.sh |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 87ab2fd4704b -r 3975caaf7bf1 tests/net/ndp/t_ra.sh
--- a/tests/net/ndp/t_ra.sh     Wed Jan 11 07:16:48 2017 +0000
+++ b/tests/net/ndp/t_ra.sh     Wed Jan 11 07:22:43 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ra.sh,v 1.20 2017/01/11 03:15:44 ozaki-r Exp $
+#      $NetBSD: t_ra.sh,v 1.21 2017/01/11 07:22:43 ozaki-r Exp $
 #
 # Copyright (c) 2015 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -127,7 +127,8 @@
            -o match:"$ll_srv%shmif0 +$mac_srv +shmif0 +(23h59m|1d0h0m)..s S R" \
            rump.ndp -n -a
        atf_check -s exit:0 -o match:$addr_prefix rump.ndp -n -a
-       atf_check -s exit:0 -o match:"$addr_prefix.+<AUTOCONF>" \
+       atf_check -s exit:0 \
+           -o match:"$addr_prefix.+<(TENTATIVE,)?AUTOCONF>" \
            rump.ifconfig shmif0 inet6
        unset RUMP_SERVER
 }
@@ -651,7 +652,8 @@
 
        # Check temporary address
        export RUMP_SERVER=${RUMPCLI}
-       atf_check -s exit:0 -o match:"$IP6SRV_PREFIX.+<AUTOCONF,TEMPORARY>" \
+       atf_check -s exit:0 \
+           -o match:"$IP6SRV_PREFIX.+<(TENTATIVE,)?AUTOCONF,TEMPORARY>" \
            rump.ifconfig shmif0 inet6
        unset RUMP_SERVER
 



Home | Main Index | Thread Index | Old Index