Module Name: src Committed By: ozaki-r Date: Thu Aug 13 10:22:21 UTC 2015
Modified Files: src/tests/net/arp: t_arp.sh Log Message: Reflect a fix on rt_refcnt The test was adjusted based on wrong behavior. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/net/arp/t_arp.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/arp/t_arp.sh diff -u src/tests/net/arp/t_arp.sh:1.7 src/tests/net/arp/t_arp.sh:1.8 --- src/tests/net/arp/t_arp.sh:1.7 Fri Aug 7 05:32:12 2015 +++ src/tests/net/arp/t_arp.sh Thu Aug 13 10:22:21 2015 @@ -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 @@ test_cache_expiration() $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 @@ command_body() # 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 }