Source-Changes-HG archive

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

[src/trunk]: src/tests/net/ndp Adjust the tests for temp option that works now



details:   https://anonhg.NetBSD.org/src/rev/1e94be5034d2
branches:  trunk
changeset: 815484:1e94be5034d2
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri May 20 06:48:52 2016 +0000

description:
Adjust the tests for temp option that works now

See PR kern/50127

diffstat:

 tests/net/ndp/t_ndp.sh |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r adc1770cb4b5 -r 1e94be5034d2 tests/net/ndp/t_ndp.sh
--- a/tests/net/ndp/t_ndp.sh    Fri May 20 03:41:20 2016 +0000
+++ b/tests/net/ndp/t_ndp.sh    Fri May 20 06:48:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ndp.sh,v 1.10 2016/04/04 07:37:08 ozaki-r Exp $
+#      $NetBSD: t_ndp.sh,v 1.11 2016/05/20 06:48:52 ozaki-r Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -210,12 +210,11 @@
        atf_check -s exit:0 -o ignore -e ignore rump.ndp -n fc00::11
        atf_check -s exit:0 -o ignore -e ignore rump.ndp -n fc00::12
 
-       # Test temp option (XXX it doesn't work; expire time isn't set)
        $DEBUG && rump.ndp -n -a
-       #atf_check -s exit:0 -o ignore rump.ndp -s fc00::10 b2:a0:20:00:00:10 temp
+       atf_check -s exit:0 -o ignore rump.ndp -s fc00::10 b2:a0:20:00:00:10 temp
        rump.ndp -s fc00::10 b2:a0:20:00:00:10 temp
        $DEBUG && rump.ndp -n -a
-       #atf_check -s exit:0 -o not-match:'permanent' rump.ndp -n fc00::10
+       atf_check -s exit:0 -o not-match:'permanent' rump.ndp -n fc00::10
 
        return 0
 }



Home | Main Index | Thread Index | Old Index