Source-Changes-HG archive

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

[src/trunk]: src/tests/net/ndp Make a test a bit easy



details:   https://anonhg.NetBSD.org/src/rev/a24ef37c4f6e
branches:  trunk
changeset: 339952:a24ef37c4f6e
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue Aug 18 00:58:35 2015 +0000

description:
Make a test a bit easy

Accept just 24h of expiration time in addition to 24h - a few seconds.

diffstat:

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

diffs (18 lines):

diff -r 494d0e331f01 -r a24ef37c4f6e tests/net/ndp/t_ndp.sh
--- a/tests/net/ndp/t_ndp.sh    Mon Aug 17 22:20:39 2015 +0000
+++ b/tests/net/ndp/t_ndp.sh    Tue Aug 18 00:58:35 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ndp.sh,v 1.5 2015/08/17 07:47:21 ozaki-r Exp $
+#      $NetBSD: t_ndp.sh,v 1.6 2015/08/18 00:58:35 ozaki-r Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -124,7 +124,7 @@
        $DEBUG && rump.ndp -n -a
        atf_check -s exit:0 -o match:'permanent' rump.ndp -n $IP6SRC
        # Expired but remains until GC sweaps it (1 day)
-       atf_check -s exit:0 -o match:'23h59m' rump.ndp -n $IP6DST
+       atf_check -s exit:0 -o match:'(1d0h0m|23h59m)' rump.ndp -n $IP6DST
 }
 
 ifdown_dst_server()



Home | Main Index | Thread Index | Old Index