Module Name: src
Committed By: ozaki-r
Date: Tue Aug 18 00:58:35 UTC 2015
Modified Files:
src/tests/net/ndp: t_ndp.sh
Log Message:
Make a test a bit easy
Accept just 24h of expiration time in addition to 24h - a few seconds.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/net/ndp/t_ndp.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/net/ndp/t_ndp.sh
diff -u src/tests/net/ndp/t_ndp.sh:1.5 src/tests/net/ndp/t_ndp.sh:1.6
--- src/tests/net/ndp/t_ndp.sh:1.5 Mon Aug 17 07:47:21 2015
+++ src/tests/net/ndp/t_ndp.sh Tue Aug 18 00:58:35 2015
@@ -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 @@ cache_expiration_body()
$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()