Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/arp Reflect a fix on rt_refcnt
details: https://anonhg.NetBSD.org/src/rev/30f9200ad8c5
branches: trunk
changeset: 339848:30f9200ad8c5
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Thu Aug 13 10:22:21 2015 +0000
description:
Reflect a fix on rt_refcnt
The test was adjusted based on wrong behavior.
diffstat:
tests/net/arp/t_arp.sh | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r fc1f36dd9941 -r 30f9200ad8c5 tests/net/arp/t_arp.sh
--- a/tests/net/arp/t_arp.sh Thu Aug 13 10:14:26 2015 +0000
+++ b/tests/net/arp/t_arp.sh Thu Aug 13 10:22:21 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_arp.sh,v 1.7 2015/08/07 05:32:12 ozaki-r Exp $
+# $NetBSD: t_arp.sh,v 1.8 2015/08/13 10:22:21 ozaki-r Exp $
#
# Copyright (c) 2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -140,8 +140,7 @@
$DEBUG && rump.arp -n -a
atf_check -s exit:0 -o ignore rump.arp -n $IP4SRC
# Should be expired
- #atf_check -s not-exit:0 -e ignore rump.arp -n $IP4DST
- atf_check -s exit:0 -o match:'incomplete' rump.arp -n $IP4DST
+ atf_check -s not-exit:0 -e ignore rump.arp -n $IP4DST
}
cache_expiration_5s_body()
@@ -227,7 +226,7 @@
# Hm? the cache doesn't expire...
atf_check -s exit:0 sleep $(($arp_keep + $arp_prune + $bonus))
$DEBUG && rump.arp -n -a
- #atf_check -s exit:0 -o match:'incomplete' rump.arp -n 10.0.1.10
+ #atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.10
return 0
}
Home |
Main Index |
Thread Index |
Old Index